[Distutils] Trouble installing Myghty with --prefix
skip at pobox.com
Wed Nov 30 18:58:52 CET 2005
Ian> There's non-root installation instructions on the setuptools site
Ian> (and maybe included in easy_install now?) that will create a full
Ian> Python environment in a non-standard location, which would probably
Ian> resolve this issue.
Thanks, but that's not what I'm after. On my CentOS 4 server, Python 2.3.x
is installed with /usr as the prefix (that is, I use the CentOS-provided
version of Python). I install all third-party packages (including my own
code) with a prefix of /usr/local/mojam so I can a) avoid polluting the base
package and b) install things without becoming root. Accordingly, I dump a
mojam.pth file in the system site-packages directory which contains this one
That is my only pollution of the default Python installation. I'd like to
keep it that way. Can setuptools (be made to) do the job?
More information about the Distutils-SIG