[Distutils] setuptools in fink

Phillip J. Eby pje at telecommunity.com
Thu Mar 30 02:08:15 CEST 2006

At 06:42 PM 3/29/2006 -0500, Kurt Schwehr wrote:
>Phillip and others,
>Does this look like it is installed correctly?  Or is it that I am calling 
>setup.py when I should be calling ez_setup?  And what should I pass to 
>ez_setup?  It does look like setuptools are installed incorrectly since 
>easy_install -h does not run.  So what is the right way?

If you are packaging setuptools for use with a system packager, you should use:

     python setup.py install --root=/some/pseudoroot

If you are using setuptools 0.6a10 or earlier, you *also* need 
--single-version-externally-managed for this to work.  0.6a11 (which I just 
released a few minutes ago) automatically sets 
--single-version-externally-managed if you specify a --root, so you might 
want to just go ahead and upgrade, especially since 0.6a11 has a lot of 
other changes to improve compatibility with system packagers.

For example, while 0.6a10 will complain about system-installed versions of 
a package as conflicting with a package that is being installed, 0.6a11 
installs things such that there are no conflicts.  0.6a11 also supports 
making system packages for projects containing namespace packages, without 
causing inter-package conflicts for the packaging system.

More information about the Distutils-SIG mailing list