[Distutils] setuptools error when using --prefix option, complains directory does not exist

2010-03-09 Thread hari jayaram
Hi I am installing setuptools using the --prefix option it complains the directory does not exist even though it does. The install works however when I use the --instal-dir option as it recommends. Thought I would pass this along Hari macbook-pro-17:~ hari$ sudo sh

Re: [Distutils] setuptools error when using --prefix option, complains directory does not exist

2010-03-09 Thread Bill Janssen
Hari, I think this works if you use --root=/ along with --prefix=foo. So, if you wanted to install in, for example, /Library/MyPackage/, you'd say, --root=/ --prefix=/Library/MyPackage. I think this is better than using --install-dir, because it handles platform issues like lib vs lib64 on Red

Re: [Distutils] setuptools error when using --prefix option, complains directory does not exist

2010-03-09 Thread P.J. Eby
At 02:57 PM 3/9/2010 -0500, hari jayaram wrote: Hi I am installing setuptools using the --prefix option it complains the directory does not exist even though it does. The install works however when I use the --instal-dir option as it recommends. macbook-pro-17:~ hari$ sudo sh

Re: [Distutils] setuptools error when using --prefix option, complains directory does not exist

2010-03-09 Thread Ned Deily
In article 20100309211057.726fa3a4...@sparrow.telecommunity.com, P.J. Eby p...@telecommunity.com wrote: At 02:57 PM 3/9/2010 -0500, hari jayaram wrote: I am installing setuptools using the --prefix option it complains the directory does not exist even though it does. The install works

Re: [Distutils] setuptools error when using --prefix option, complains directory does not exist

2010-03-09 Thread P.J. Eby
At 03:07 PM 3/9/2010 -0800, Ned Deily wrote: But adding extra parameters should be unnecessary in this case. True, but I was just explaining the difference between --prefix and --install-dir, which would be relevant for people on all platforms and most all installation directories. ;-)