Re: setup.py when you can't write to site-packages?

2006-08-09 Thread skip
andy> What's the best approach for situations when you can't tamper with andy> the Python install? python setup.py install --prefix=/some/where/else The arg to --prefix is analogous to /usr or /usr/local. For example, if you are running Python 2.4, your files will wind up in /some/

Re: setup.py when you can't write to site-packages?

2006-08-09 Thread andybak
Thanks Diez. For one thing I was getting setuptools mixed up with distutils. Then it occurred to me that this might be covered in the standard distutils docs (obvious I know but before I was thinking of it as a general Python problem and therefore wasn't sure where it might be documented) The sol

Re: setup.py when you can't write to site-packages?

2006-08-09 Thread Diez B. Roggisch
andybak wrote: > There are several gaps in my Python knowledge, one of which is the what > exactly setuptools does and how it works. > > I'm on a shared host so can't write to site-packages therefore most > setup.py's fail. > > My strategy for pure python packages is to run setup.py locally and

setup.py when you can't write to site-packages?

2006-08-09 Thread andybak
There are several gaps in my Python knowledge, one of which is the what exactly setuptools does and how it works. I'm on a shared host so can't write to site-packages therefore most setup.py's fail. My strategy for pure python packages is to run setup.py locally and copy anything that gets put in