[Insight-developers] [SimpleITK] PyPi distribution

Bradley Lowekamp blowekamp at mail.nih.gov
Thu Sep 15 10:36:55 EDT 2011


Hello Matt,

I have made some really good progress on this. 

I am looking for documentation on how easy_install determines which binary distribution to use. On my Mac I am getting eggs with the following name format: SimpleITK-0.2.0-Py2.6.egg. I don't know how it is suppose to determine with OS the egg is for. I have the feeling that there is suppose to be some platform string in the name too, but I don't know what easy_install is looking for or which of the many platform strings available in python should be used.

Any ideas on where I can find some more information about this?

Thanks,
Brad

On Sep 14, 2011, at 3:28 PM, Matt McCormick wrote:

> Hi Brad,
> 
> I did a little research after the Tcon conversation on the Python
> distribution this morning:
> 
> A quick run down on Python distribution can be found here:
> 
> http://packages.python.org/an_example_pypi_project/setuptools.html#putting-it-all-together-with-the-full-windows-script
> 
> This shows how to make binary eggs, binary Windows stand alone
> installers, and upload eggs to PyPi.
> 
> Note that source distributions will probably not work because Python
> has its own C Extension build system that is presumed to be used.
> 
> As it mentions, binary eggs are distinguished by Python version and
> operating system.  On Windows, they use the Visual Studio compiler, so
> it is good to stick with that.  Python 2.6 and Python 2.7 would be
> good versions to target.  The Python 3 series would be nice if we have
> time.
> 
> The PyPi website is here:
> 
> http://pypi.python.org/pypi
> 
> Instructions setting up a project can be found here:
> 
> http://wiki.python.org/moin/CheeseShopTutorial
> 
> It would be appropriate if one of the primary developers like yourself
> admin'ed the project instead of myself so credit goes where due.
> 
> Let me know if I can help out.
> 
> Thanks,
> Matt

========================================================
Bradley Lowekamp  
Lockheed Martin Contractor for
Office of High Performance Computing and Communications
National Library of Medicine 
blowekamp at mail.nih.gov


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/mailman/private/insight-developers/attachments/20110915/8e9516d9/attachment.htm>


More information about the Insight-developers mailing list