By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,199 Members | 1,125 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,199 IT Pros & Developers. It's quick & easy.

Distutils help for sub-packages

P: n/a
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
Dec 3 '07 #1
Share this Question
Share on Google+
3 Replies


P: n/a
On Dec 3, 9:44 am, Rick Muller <rpmul...@gmail.comwrote:
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
Dec 5 '07 #2

P: n/a
On Dec 5, 7:20 am, kyoso...@gmail.com wrote:
>
I recommend asking the distutils guys at their list:

http://mail.python.org/mailman/listinfo/distutils-sig

Mike
I did, and no one replied there either. Probably because everyone,
there and here, were too polite to say that I was nutso. Which, it
turns out, I was. After not hearing from two normally helpful forums
(fora?) I went back a little more carefully and found the bug. Sorry
for the false alarm.
Dec 6 '07 #3

P: n/a
On Dec 6, 2:37 pm, Rick Muller <rpmul...@gmail.comwrote:
On Dec 5, 7:20 am, kyoso...@gmail.com wrote:
I recommend asking the distutils guys at their list:
http://mail.python.org/mailman/listinfo/distutils-sig
Mike

I did, and no one replied there either. Probably because everyone,
there and here, were too polite to say that I was nutso. Which, it
turns out, I was. After not hearing from two normally helpful forums
(fora?) I went back a little more carefully and found the bug. Sorry
for the false alarm.
Sorry to hear that...they are both pretty helpful in most cases.
C.l.py doesn't usually mind telling OP's that they're nutso either. I
personally didn't think you were, but I didn't know how to answer your
question either.

Mike
Dec 6 '07 #4

This discussion thread is closed

Replies have been disabled for this discussion.