[Distutils] [issue97] Windows installer causes different behavior

2009-11-18 Thread David Hart
New submission from David Hart dbh...@sandia.gov: Using the windows .exe installer for setuptools0.6c11 causes an error that is not present when using the .tar.gz and installing from source (python setup.py install). easy_install.exe behaves differently between the two methods. Using the .exe,

[Distutils] obtaining easy_install prefix in setup.py

2009-11-18 Thread Pavol Juhas
Hello, I searched and read the recent discussions on the distutils-sig list and I hope someone can help me with the following problem. Is there a way to recover the prefix value inside pkgfoo/setup.py, when it is installed as easy_install --prefix=value pkgfoo (pkgfoo is a directory

Re: [Distutils] obtaining easy_install prefix in setup.py

2009-11-18 Thread P.J. Eby
At 02:59 PM 11/18/2009 -0500, Pavol Juhas wrote: Hello, I searched and read the recent discussions on the distutils-sig list and I hope someone can help me with the following problem. Is there a way to recover the prefix value inside pkgfoo/setup.py, when it is installed as easy_install

Re: [Distutils] obtaining easy_install prefix in setup. py

2009-11-18 Thread David Lyon
On Wed, 18 Nov 2009 14:59:21 -0500, Pavol Juhas pj2...@columbia.edu wrote: Hello, I searched and read the recent discussions on the distutils-sig list and I hope someone can help me with the following problem. Is there a way to recover the prefix value inside pkgfoo/setup.py, when it is

[Distutils] distribute traceback

2009-11-18 Thread Neal Becker
sudo easy_install -U openopt Processing openopt Running OOPy/setup.py -q bdist_egg --dist-dir /home/nbecker/openopt/OOPy/egg-dist-tmp-fTMbRS Adding openopt 0.24.dev to easy-install.pth file Installed /usr/lib/python2.6/site-packages/openopt-0.24.dev-py2.6.egg Processing dependencies for

Re: [Distutils] obtaining easy_install prefix in setup.py

2009-11-18 Thread Pavol Juhas
On Wed, Nov 18, 2009 at 07:45:34PM -0500, David Lyon wrote: ... Is this only for the linux/mac version? I tried the windows version of diffpy and it uses a nsis installer and that all seemed to work fine on my test machine. Hi David, The shared C++ library is necessary for new packages that

Re: [Distutils] obtaining easy_install prefix in setup.py

2009-11-18 Thread David Cournapeau
Pavol Juhas wrote: easy_install already creates its own distribution object before sourcing pkgfoo/setup.py, in addition setup.py is executed in a sandbox with mangled sys.argv. At least for the Distribution class, what you can do is to detect whether you are run under