Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Python: Python

Distutils help for sub-packages

 

 

Python python RSS feed   Index | Next | Previous | View Threaded


rpmuller at gmail

Dec 3, 2007, 7:44 AM

Post #1 of 4 (39 views)
Permalink
Distutils help for sub-packages

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
--
http://mail.python.org/mailman/listinfo/python-list


kyosohma at gmail

Dec 5, 2007, 6:20 AM

Post #2 of 4 (32 views)
Permalink
Re: Distutils help for sub-packages [In reply to]

On Dec 3, 9:44 am, Rick Muller <rpmul...@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
--
http://mail.python.org/mailman/listinfo/python-list


rpmuller at gmail

Dec 6, 2007, 12:37 PM

Post #3 of 4 (29 views)
Permalink
Re: Distutils help for sub-packages [In reply to]

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.
--
http://mail.python.org/mailman/listinfo/python-list


kyosohma at gmail

Dec 6, 2007, 12:41 PM

Post #4 of 4 (29 views)
Permalink
Re: Distutils help for sub-packages [In reply to]

On Dec 6, 2:37 pm, Rick Muller <rpmul...@gmail.com> wrote:
> 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
--
http://mail.python.org/mailman/listinfo/python-list

Python python RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.