<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<div dir="ltr">Thanks Brad, it helped a lot.<br>
I copied the CI files (travis, appveyor and circle) and the setup.py from the ITKModuleTemplate, changed just a little bit on setup.py, and it works! I have the .wheel files for all the platforms.<br>
<br>
Just a few notes, I had to add a 3.6 in the .travis.yml --which generates the wheels for macOS because I was hitting the time limit (~50min).<br>
<br>
<div>`./macpython-download-cache-and-build-module-wheels.sh 3.6`</div>
<div><br>
Also, to upload it into pypi for using `pip install`, I have registered myself in pypi and testpypi, configured a `.pypirc` file with my credentials and downloaded the wheels from every site into a `dist` folder, then:<br>
<br>
`twine upload ./dist/* -r testpypi`<br>
<br>
And it works!<br>
<br>
<div>(python-test-virtual_environment) pip install --extra-index-url <a href="https://testpypi.python.org/pypi">
https://testpypi.python.org/pypi</a> itk-isotropicwavelets</div>
</div>
<div><br>
Amazing, thanks a lot,</div>
<div><br>
</div>
<div>Cheers,<br>
Pablo</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Fri, Aug 4, 2017 at 12:48 AM, <a href="mailto:blowekamp@mail.nih.gov">
blowekamp@mail.nih.gov</a> <span dir="ltr"><<a href="mailto:blowekamp@mail.nih.gov" target="_blank">blowekamp@mail.nih.gov</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="white" lang="EN-US" link="blue" vlink="purple">
<div class="m_473142847493052037WordSection1">
<p class="MsoNormal">I would also look at the ITKModuleTemplate repository:<u></u><u></u></p>
<p class="MsoNormal"><a href="https://github.com/InsightSoftwareConsortium/ITKModuleTemplate" target="_blank">https://github.com/<wbr>InsightSoftwareConsortium/<wbr>ITKModuleTemplate</a><u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Brad<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="margin-left:.5in"><b><span style="font-size:12.0pt;color:black">From:
</span></b><span style="font-size:12.0pt;color:black">Pablo Hernández <<a href="mailto:pablo.hernandez.cerdan@outlook.com" target="_blank">pablo.hernandez.cerdan@<wbr>outlook.com</a>><br>
<b>Date: </b>Thursday, August 3, 2017 at 8:28 AM<br>
<b>To: </b>Beatriz Paniagua <<a href="mailto:beatriz.paniagua@kitware.com" target="_blank">beatriz.paniagua@kitware.com</a>><br>
<b>Cc: </b>"<a href="mailto:insight-users@itk.org" target="_blank">insight-users@itk.org</a>" <<a href="mailto:insight-users@itk.org" target="_blank">insight-users@itk.org</a>><br>
<b>Subject: </b>Re: [ITK-users] [ITK] About the distribution of wrapped python for ITK external modules<u></u><u></u></span></p>
</div>
<div>
<div class="h5">
<div>
<p class="MsoNormal" style="margin-left:.5in"><u></u> <u></u></p>
</div>
<div>
<div>
<p class="MsoNormal" style="margin-right:0in;margin-bottom:12.0pt;margin-left:.5in">
Hi Bea,<br>
<br>
that's awesome, I will try to copy the configuration from the repo of your publication:
<a href="https://github.com/InsightSoftwareConsortium/ITKTextureFeatures" target="_blank">
https://github.com/<wbr>InsightSoftwareConsortium/<wbr>ITKTextureFeatures</a><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">Thanks,<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">Pablo<u></u><u></u></p>
</div>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><u></u> <u></u></p>
<div>
<p class="MsoNormal" style="margin-left:.5in">On Fri, Aug 4, 2017 at 12:00 AM, Beatriz Paniagua <<a href="mailto:beatriz.paniagua@kitware.com" target="_blank">beatriz.paniagua@kitware.com</a>> wrote:<u></u><u></u></p>
<blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<div>
<div>
<div>
<p class="MsoNormal" style="margin-right:0in;margin-bottom:12.0pt;margin-left:.5in">
Hi Pablo,<br>
<br>
<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-right:0in;margin-bottom:12.0pt;margin-left:.5in">
We have created external module specific python wraps for some applications. One example is the work that Matt M and JB Vimort did in the ITKTextureFilters.<br>
<a href="http://review.source.kitware.com/#/c/22531/" target="_blank">http://review.source.kitware.<wbr>com/#/c/22531/</a><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">Hope that helps!<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-right:0in;margin-bottom:12.0pt;margin-left:.5in">
Best,<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">Bea<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-right:0in;margin-bottom:12.0pt;margin-left:.5in">
<u></u> <u></u></p>
</div>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><u></u> <u></u></p>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-left:.5in">On Wed, Aug 2, 2017 at 11:07 PM, Pablo Hernández <<a href="mailto:pablo.hernandez.cerdan@outlook.com" target="_blank">pablo.hernandez.cerdan@<wbr>outlook.com</a>> wrote:<u></u><u></u></p>
</div>
</div>
<blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<div>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-left:.5in">Hi there, <u></u><u></u></p>
<div>
<p class="MsoNormal" style="margin-left:.5in">It seems that the only way to install an external module is to build the ITK source with the option -DModule_xxx:BOOL=ON, but I was thinking... if the module is optional in the ITK source code and provides python
wraps, is it available in the python itk package with `pip install itk`?<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><br>
In other words, do you wrap all the optional external modules when distributing the python itk or only the default modules? If the latter, would it be possible to create optional python packages for External Modules with the same deploying pipeline you use?<br>
<br>
Cheers,<br>
Pablo<u></u><u></u></p>
</div>
</div>
</div>
<p class="MsoNormal" style="margin-left:.5in"><u></u> <u></u></p>
</div>
</div>
<p class="MsoNormal" style="margin-right:0in;margin-bottom:12.0pt;margin-left:.5in">
______________________________<wbr>_______<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at<br>
<a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/<wbr>opensource/opensource.html</a><br>
<br>
Kitware offers ITK Training Courses, for more information visit:<br>
<a href="http://www.kitware.com/products/protraining.php" target="_blank">http://www.kitware.com/<wbr>products/protraining.php</a><br>
<br>
Please keep messages on-topic and check the ITK FAQ at:<br>
<a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_<wbr>FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/insight-users" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/insight-users</a><br>
<br>
______________________________<wbr>_________________<br>
Community mailing list<br>
<a href="mailto:Community@itk.org" target="_blank">Community@itk.org</a><br>
<a href="http://public.kitware.com/mailman/listinfo/community" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/community</a><u></u><u></u></p>
</blockquote>
</div>
<p class="MsoNormal" style="margin-left:.5in"><span style="color:#888888"><br>
<br clear="all">
<br>
<span class="m_473142847493052037hoenzb">-- </span></span><span class="m_473142847493052037hoenzb"><span style="color:#888888"><u></u><u></u></span></span></p>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><span style="color:#888888">Beatriz Paniagua, PhD<br>
Technical Leader</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><span style="color:#888888">Kitware, Inc.<u></u><u></u></span></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<p class="MsoNormal" style="margin-left:.5in"><u></u> <u></u></p>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</body>
</html>