[Distutils] Third-party packages inside a project
Phillip J. Eby
pje at telecommunity.com
Wed Nov 14 13:19:04 CET 2007
At 12:45 PM 11/14/2007 +0100, Giovanni Bajo 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.
Various .egg-info directories will be installed alongside the
packages; you will need to leave these alone, until/unless you are
uninstalling the corresponding package.
More information about the Distutils-SIG
mailing list