I would like to package a Python scientific application for PyPI. My problem is that it relies on PyPI-level deps (e.g. numpy, scipy, etc.) as well as others which must be dealt at the OS-level: wxPython and Python-VTK (e.g. with apt-get on Ubuntu, homebrew on OSX, etc).
I’d like to know what would be the ideal strategy for doing this, and in particular, which packaging system would fit best (I’m currently favoring Distribute).
distributeis a fork ofsetuptoolswith better perhaps documentation. You basically havedistutils(stdlib) andsetuptoolsas your choices. Sincedistutilsdoesn’t let you specify dependencies, onlysetuptoolsis left.You generally list all dependencies, and document the installation procedure clearly (including in the long_description field pushed to PyPI). Include the OS-level installed packages, most distributions include the egg information when installing these.