[Donald Stufft, 2016-01-22]
> Now, that’s the high level overview, there’s an easier, more automatic
> way that could maybe just be added to pybuild (Not sure exactly how
> pybuild works) where instead of invoking the setup.py as:
>     python setup.py install (or whatever commands/args you’re passing)
> You do it as (taken from pip):
>     python -c "import setuptools, 
> tokenize;__file__='$PWD/setup.py';exec(compile(getattr(tokenize, 'open', 
> open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))” install (or 
> whatever commands/args you’re passing).

let's make a deal. If you will make sure pip doesn't touch system files
(and others will not crucify me for this) - I will make sure pybuild
uses above line (if setuptools is not detected in setup.py but is listed
in Build-Depends).
Piotr Ożarowski                         Debian GNU/Linux Developer
www.ozarowski.pl          www.griffith.cc           www.debian.org
GPG Fingerprint: 1D2F A898 58DA AF62 1786 2DF7 AEF6 F1A2 A745 7645

Reply via email to