[Python-Dev] [Distutils] At least one package management tool for 2.7 (original) (raw)

Jason Baker jbaker at zeomega.com
Wed Mar 24 19:06:03 CET 2010


On Wed, Mar 24, 2010 at 12:53 PM, Darren Dale <dsdale24 at gmail.com> wrote:

On Wed, Mar 24, 2010 at 1:19 PM, Ian Bicking <ianb at colorstudy.com> wrote: > On Wed, Mar 24, 2010 at 7:27 AM, Olemis Lang <olemis at gmail.com> wrote: >> My experience is that only installrequires is needed (unless you >> want to create app bundles AFAICR) , but in practice I've noticed that >> some easyinstallable packages are not pip-able (though I had no >> time to figure out why :-/ ) > > Usually this is because Setuptools is poking at objects to do its > work, while pip tries to work mostly with subprocesses. Though to > complicate things a bit, pip makes sure the Setuptools monkeypatches > to distutils are applied, so that it's always as though the setup.py > says "from setuptools import setup". easyinstall also does this. > > But then easyinstall starts calling methods and whatnot, while pip just does: > > setup.py install --single-version-externally-managed --no-deps > --record sometmpfile > > The --no-deps keeps Setuptools from resolving dependencies

Seeking clarification: how can pip recursively install dependencies and keep Setuptools from resolving dependencies? Using the --no-deps option to setup.py -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20100324/2000f593/attachment.html>



More information about the Python-Dev mailing list