Phillip & Others:

Thanks so much for taking the time to answer my questions, I am a
newbie to setuptools so I apologize if I was just being thick.

Phillip, your suggested solution of using --root solved my problem.  I
was previously using --prefix instead, but using --root creates the
packages more in the way that work well with Solaris packaging.

Brian


When you do that, use "setup.py install --root=/var/tmp/pkgbuild-foo" to install the package, and you'll be good to go. That will automatically tell setuptools to install the package in a way that supports being installed like this; any .pth files generated will be named uniquely for that package, rather than using easy-install.pth. In fact, most packages won't generate a .pth file at all when installed this way.

Note, too, that the same --root option is also safe for installing plain distutils packages; it's just that setuptools also uses it to enable a distutils-compatible (and packaging tool compatible) installation mode.


_______________________________________________
Distutils-SIG maillist  -  Distutils-SIG@python.org
http://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to