-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Randy McMurchy wrote:
> Hi all,
>
> I've not tried real hard yet, but I'm stumbling a bit on how to figure
> out how to use DESTDIR in native python packages that use the syntax
> 'python setup.py' for installation.
>
> Does anyone have a quick solution to this?
>
If it is using distutils (which probably is the case, as there is a
"setup.py" file), then you can pass the option --root="${DESTDIR}" to
`python setup.py install`, which should do exactly what you want (pulled
from Gentoo's distutils.eclass - I find Gentoo's ebuilds/eclasses help a
lot when trying to find out exactly *how* to build a particular package
with the options I want, especially for determining which option to use
for DESTDIR).
- --
ABCD
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkmsu8oACgkQOypDUo0oQOp+uQCfSnniEO6HShb64vXPRCvpMFNs
XlcAn2d08A+NKPdCYk4bJ8lA4XaPhXFk
=ougW
-----END PGP SIGNATURE-----
--
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page