Re: Re: Managing multiple packages

2012-11-27 Thread Thomas Bach
On Mon, Nov 26, 2012 at 07:58:22PM -0600, Evan Driscoll wrote:
> I'm also pretty confused about the
> distutils/setuptools/distribute/distutils2 landscape and what the
> differences are (at least between the first 3) and what their
> relationships with standard Python are.

In my opinion packaging in Python is at the moment a disaster. The
whole distutils/setuptools/whatever confusion is at least one of the
major sources that this whole topic is so poorly documented and
obviously violates the Zen of Python. Anyways, I think THEY are
working on it. [1] is also a bit clarifying.

Regards,
Thomas.


Footnotes: 
[1]  
http://ziade.org/2010/03/03/the-fate-of-distutils-pycon-summit-packaging-sprint-detailed-report/

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Re: Managing multiple packages

2012-11-26 Thread Evan Driscoll

On 11/22/2012 06:22 PM, Thomas Bach wrote:

I am using virtual environments and do a

python setup.py develop

on each package. This just creates a symbolic link to the package and
all edits show up immediately.


That's awesome; I didn't know about the 'develop' command. Thanks!

Is that just a setuptools thing, or can you do it with distutils too? I 
didn't see anything too promising so I'm not so hopeful, but I figured 
I'd ask anyway. I'm also pretty confused about the 
distutils/setuptools/distribute/distutils2 landscape and what the 
differences are (at least between the first 3) and what their 
relationships with standard Python are.


(I'd prefer to use distutils because (1) it ships with Python as opposed 
to being something extra to install (2) setuptools annoys me being the 
only think I can remember that, when you tell it to install to a prefix 
that doesn't exist, says "you want me to MAKE DIRECTORIES?! what are 
you, some kind of slave driver?!". Admittedly that second reason is not 
so rational and very occasionally putting up with that in exchange for 
development mode is plenty worth it, but being able to shun setuptools 
would make me feel good. :-))


Evan

--
http://mail.python.org/mailman/listinfo/python-list