[Distutils] Third-party packages inside a project

Giovanni Bajo rasky at develer.com
Wed Nov 14 14:37:08 CET 2007


On 11/14/2007 1:19 PM, Phillip J. Eby wrote:

>> I was wondering if someone could suggest a fix, especially for #1: I
>> can't believe there's no way to ask distutils/setuptools to install a
>> project-specific package (I am aware of the chapter "Custom Installation
>> Locations" in EasyInstall docs, but that's more about installing
>> packages at user-level instead of system-level; it doesn't cover the
>> project-level which I need).
> 
> setup.py install --single-version-externally-managed --record=somefile ...
> 
> The above incantation (along with whatever other options you want) will 
> let you install setuptools-based packages "the old fashioned way".  You 
> will be responsible for installing the packages' dependencies in the 
> same way, however.  You'll also be responsible for any uninstallation 
> prior to upgrading versions of those packages.

That's fine since it's exactly how it was working before. I'm happy 
there is a "backward-compatibility" option, but it's a pity there's no 
way to fix it in a way that still allows to fully use setuptools.
-- 
Giovanni Bajo



More information about the Distutils-SIG mailing list