I created a pip issue for this https://github.com/pypa/pip/issues/863
On Mon, Mar 25, 2013 at 9:42 AM, Nick Coghlan <ncogh...@gmail.com> wrote: > On Mon, Mar 25, 2013 at 9:23 AM, Nick Coghlan <ncogh...@gmail.com> wrote: > > This can be handled in pip, by using the AST module to scan for > > setuptools imports in setup.py (or else by checking for a setuptools > > related ImportError after trying to run it). Yes, it's a hack, but I > > am *not* going to approve a PEP that further entrenches something even > > its creator would like to see waved off into the sunset, giving thanks > > for its good service :) > > I would also be fine with a simpler version of this approach, which > works the way pip does now: if pip encounters a metadata 1.0 or 1.1 > sdist, then it *assumes* "Setup-Requires-Dist: setuptools". > > That way, if you give it an index with no setuptools and fully > populated with pre-built wheels, you can avoid deploying setuptools to > the target environment. > > The bootstrap script itself should not install setuptools though - > it's up to pip to do that before running a setup.py file without the > explicit Setup-Requires-Dist support in metadata 2.0+ > > Cheers, > Nick. > > > -- > Nick Coghlan | ncogh...@gmail.com | Brisbane, Australia > _______________________________________________ > Distutils-SIG maillist - Distutils-SIG@python.org > http://mail.python.org/mailman/listinfo/distutils-sig >
_______________________________________________ Distutils-SIG maillist - Distutils-SIG@python.org http://mail.python.org/mailman/listinfo/distutils-sig