Distutils help for sub-packages
kyosohma at gmail.com
kyosohma at gmail.com
Wed Dec 5 09:20:33 EST 2007
On Dec 3, 9:44 am, Rick Muller <rpmul... at gmail.com> wrote:
> I need some distutils help. I currently run a python library
> (PyQuante) that, until recently, had all of its modules in a single
> directory, called "PyQuante". The setup command in my setup.py module
> had a single "packages" line:
>
> packages = ['PyQuante'],
>
> I moved some of the routines into Basis and IO subdirectories of
> PyQuante, and amended the packages line to be:
>
> packages = ['PyQuante','PyQuante.Basis','PyQuante.IO'],
>
> Everything works find if I'm installing from SVN. However, when I
> build a tarball via setup.py sdist, the Basis and IO subdirectories
> are not included. How can I get the distutils to include this?
>
> Thanks in advance,
>
> Rick
I recommend asking the distutils guys at their list:
http://mail.python.org/mailman/listinfo/distutils-sig
Mike
More information about the Python-list
mailing list