[Distutils] [issue48] ignores --build-directory= option if argument is a local file

Zooko O'Whielacronx setuptools at bugs.python.org
Tue Sep 30 23:21:22 CEST 2008


New submission from Zooko O'Whielacronx <zooko at zooko.com>:

It seems like if the argument to easy_install is a local file instead of a
distribution name, then it ignores the --build-directory option:

easy_install -v -v -v --prefix=./instdir --build-directory=./builddir
./pyutil-1.3.21.tar.gz | grep ^Running | head -1
Running pyutil-1.3.21/setup.py -vvv bdist_egg --dist-dir
/tmp/easy_install-2fiWD4/pyutil-1.3.21/egg-dist-tmp-PU48xQ

$ mkdir -p instdir/lib/python2.5/site-packages ;
PYTHONPATH=./instdir/lib/python2.5/site-packages easy_install -v -v -v
--prefix=./instdir --build-directory=./builddir ./pyutil-1.3.21.tar.gz | grep
^Running | head -1
Running pyutil-1.3.21/setup.py -vvv bdist_egg --dist-dir
/tmp/easy_install-8CDXG9/pyutil-1.3.21/egg-dist-tmp-V3Tmzo

versus

$ mkdir -p instdir/lib/python2.5/site-packages ;
PYTHONPATH=./instdir/lib/python2.5/site-packages easy_install -v -v -v
--prefix=./instdir --build-directory=./builddir pyutil | grep ^Running | head -1
Running setup.py -vvv bdist_egg --dist-dir ./builddir/pyutil/egg-dist-tmp-sFObAa

----------
messages: 184
nosy: zooko
priority: bug
status: unread
title: ignores --build-directory= option if argument is a local file

_______________________________________________
Setuptools tracker <setuptools at bugs.python.org>
<http://bugs.python.org/setuptools/issue48>
_______________________________________________


More information about the Distutils-SIG mailing list