[Insight-developers] [SimpleITK] PyPi distribution

Matt McCormick matt.mccormick at kitware.com
Wed Sep 14 15:28:07 EDT 2011


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


More information about the Insight-developers mailing list