The --record is for making a list of installed files. You don't need it if you don't use record.txt anywhere.
As for --single-version-externally-managed, that's unrelated to your setup_requires pain - you probably already have the eggs around, so they aren't redownloaded. What --single-version-externally-managed does is force the package to install in non-egg form (as distutils would). That also means only setup.py that uses setuptools will have the --single-version-externally-managed option available. Thanks, -- Ionel Cristian Mărieș, http://blog.ionelmc.ro On Thu, Mar 19, 2015 at 6:17 PM, Chris Barker <chris.bar...@noaa.gov> wrote: > On Thu, Mar 19, 2015 at 9:12 AM, Ionel Cristian Mărieș <cont...@ionelmc.ro > > wrote: > >> Worth considering, if you can afford it, to have a local patch that you >> apply before building. Then you have all the necessary fixes (like remove >> the setup_requires) in that patch file. >> > > yup -- that's a option -- but a really painful one! > > I did, in fact, find an incantation that works: > > $PYTHON setup.py install --single-version-externally-managed > --record=/tmp/record.txt > > but boy, is that ugly, and hard to remember why not a --no-deps flag? > > (and I have no idea what the --record thing is, or if it's even > neccessary... > > -Chris > > > This is a popular approach in Debian packages - they can have all kinds of >> fixes for the upstream code. >> >> >> >> Thanks, >> -- Ionel Cristian Mărieș, http://blog.ionelmc.ro >> > > > > -- > > Christopher Barker, Ph.D. > Oceanographer > > Emergency Response Division > NOAA/NOS/OR&R (206) 526-6959 voice > 7600 Sand Point Way NE (206) 526-6329 fax > Seattle, WA 98115 (206) 526-6317 main reception > > chris.bar...@noaa.gov >
_______________________________________________ Distutils-SIG maillist - Distutils-SIG@python.org https://mail.python.org/mailman/listinfo/distutils-sig