[Distutils] Trouble installing Myghty with --prefix

2005-11-30 Thread skip
I tried installing Myghty 0.99a using this command: python setup.py install --prefix=/usr/local/mojam (e.g., non-standard install location). It downloaded setuptools and installed a bunch of other stuff (Paste, etc), all available as eggs. Unfortunately, it didn't create packages and didn't

Re: [Distutils] Trouble installing Myghty with --prefix

2005-11-30 Thread Ian Bicking
[EMAIL PROTECTED] wrote: I tried installing Myghty 0.99a using this command: python setup.py install --prefix=/usr/local/mojam (e.g., non-standard install location). It downloaded setuptools and installed a bunch of other stuff (Paste, etc), all available as eggs. Unfortunately, it

Re: [Distutils] Trouble installing Myghty with --prefix

2005-11-30 Thread Phillip J. Eby
At 10:32 AM 11/30/2005 -0600, Ian Bicking wrote: [EMAIL PROTECTED] wrote: I tried installing Myghty 0.99a using this command: python setup.py install --prefix=/usr/local/mojam (e.g., non-standard install location). It downloaded setuptools and installed a bunch of other stuff

Re: [Distutils] Trouble installing Myghty with --prefix

2005-11-30 Thread skip
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

Re: [Distutils] Trouble installing Myghty with --prefix

2005-11-30 Thread Phillip J. Eby
At 11:58 AM 11/30/2005 -0600, [EMAIL PROTECTED] wrote: 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

Re: [Distutils] Trouble installing Myghty with --prefix

2005-11-30 Thread Phillip J. Eby
At 12:21 PM 11/30/2005 -0600, [EMAIL PROTECTED] wrote: Phillip Skip, if you want to use a custom install location using Phillip PYTHONPATH, you need to read this section: Phillip http://peak.telecommunity.com/DevCenter/EasyInstall#traditional-pythonpath-based-installation

Re: [Distutils] Trouble installing Myghty with --prefix

2005-11-30 Thread skip
pje 1. Change your .pth file to read: pje import site; site.addsitedir('/usr/local/mojam/lib/python2.3/site-packages') Did that: $ cat /usr/lib/python2.3/site-packages/mojam.pth # This file should be the only intrusion on the system-installed version of # python...

Re: [Distutils] Trouble installing Myghty with --prefix

2005-11-30 Thread skip
I'll take a look. At first blush I'm a bit put off by the notion it seems to promote that somehow using .pth files is wrong. pje On the contrary, setuptools deals with them just fine, and uses pje them just fine. The problem is that your *Python* won't process pje the

Re: [Distutils] Trouble installing Myghty with --prefix

2005-11-30 Thread Phillip J. Eby
At 05:49 PM 11/30/2005 -0600, [EMAIL PROTECTED] wrote: Then, after removing all the previously installed .egg directories and the build directory in my Myghty source tree, I tried python setup.py install --prefix=/usr/local/mojam again. Same result. Argh. Sorry, I just realized I was

Re: [Distutils] Trouble installing Myghty with --prefix

2005-11-30 Thread skip
python setup.py install --prefix=/usr/local/mojam again. Same result. ... pje In the meantime, you should be able to just do: pje python setup.py easy_install . pje in order to do the installation, whether you use distutils.cfg or pje