1. Tarek Ziadé
  2. distribute
  3. Issues
Issue #175 new

Installation directory ignored

Anonymous created an issue

I'm using distribute 0.6.13 on Mac OS X Snop Leopard with a locally installed Python 2.7 (installed in ~/.local via:

{{{ ./configure --prefix=$HOME/.local }}}

My ~/.pydistutils.cfg reads:

{{{ [install] install_lib = ~/Library/Python/$py_version_short/site-packages install_scripts = ~/Library/Python/$py_version_short/bin [easy_install] find-links = http://intranet.livinglogic.de/python-downloads/ zip_ok = False }}}

However the install_lib and install_scripts options are ignored when I install a package (find-links is honored though):

{{{ easy_install -Z ll-xist install_dir /Users/walter/.local/lib/python2.7/site-packages Searching for ll-xist Reading http://intranet.livinglogic.de/python-downloads/ Best match: ll-xist 3.8.2 Downloading http://intranet.livinglogic.de/python-downloads/ll-xist-3.8.2.zip Processing ll-xist-3.8.2.zip Running ll-xist-3.8.2/setup.py -q bdist_egg --dist-dir /var/folders/rH/rH4fpdHkFvaqeV0M2L8+9U+++TI/-Tmp-/easy_install-91M8OJ/ll-xist-3.8.2/egg-dist-tmp-TIW9ss src/ll/_url.c: In function ‘escape’: src/ll/_url.c:47: warning: pointer targets in assignment differ in signedness In file included from src/ll/_misc.c:37: src/ll/_misc_include.c: In function ‘xmlescape_str’: src/ll/_misc_include.c:53: warning: pointer targets in assignment differ in signedness src/ll/xist/sgmlop.c:77: warning: ‘copyright’ defined but not used src/ll/xist/sgmlop.c:244: warning: ‘wf_checker’ defined but not used Adding ll-xist 3.8.2 to easy-install.pth file Installing db2ul4.py script to /Users/walter/.local/bin Installing doc2txt.py script to /Users/walter/.local/bin Installing dtd2xsc.py script to /Users/walter/.local/bin Installing oracreate.py script to /Users/walter/.local/bin Installing oradelete.py script to /Users/walter/.local/bin Installing oradiff.py script to /Users/walter/.local/bin Installing oradrop.py script to /Users/walter/.local/bin Installing orafind.py script to /Users/walter/.local/bin Installing oragrant.py script to /Users/walter/.local/bin Installing oramerge.py script to /Users/walter/.local/bin Installing tld2xsc.py script to /Users/walter/.local/bin Installing ucat.py script to /Users/walter/.local/bin Installing ucp.py script to /Users/walter/.local/bin Installing uls.py script to /Users/walter/.local/bin Installing xml2xsc.py script to /Users/walter/.local/bin Installing oramerge script to /Users/walter/.local/bin Installing db2ul4 script to /Users/walter/.local/bin Installing oradiff script to /Users/walter/.local/bin Installing ucp script to /Users/walter/.local/bin Installing uls script to /Users/walter/.local/bin Installing tld2xsc script to /Users/walter/.local/bin Installing oradrop script to /Users/walter/.local/bin Installing ucat script to /Users/walter/.local/bin Installing dtd2xsc script to /Users/walter/.local/bin Installing doc2txt script to /Users/walter/.local/bin Installing oragrant script to /Users/walter/.local/bin Installing oracreate script to /Users/walter/.local/bin Installing oradelete script to /Users/walter/.local/bin Installing orafind script to /Users/walter/.local/bin Installing xml2xsc script to /Users/walter/.local/bin

Installed /Users/walter/.local/lib/python2.7/site-packages/ll_xist-3.8.2-py2.7-macosx-10.6-x86_64.egg Reading http://cx-oracle.sourceforge.net/ Processing dependencies for ll-xist Finished processing dependencies for ll-xist }}}

Specifying installation directories on the command line doesn't change anything:

{{{ easy_install -Z --install-dir $HOME/Library/Python/2.7/site-packages --script-dir $HOME/Library/Python/2.7/bin ll-xist install_dir /Users/walter/.local/lib/python2.7/site-packages Searching for ll-xist Reading http://intranet.livinglogic.de/python-downloads/ Best match: ll-xist 3.8.2 Downloading http://intranet.livinglogic.de/python-downloads/ll-xist-3.8.2.zip Processing ll-xist-3.8.2.zip Running ll-xist-3.8.2/setup.py -q bdist_egg --dist-dir /var/folders/rH/rH4fpdHkFvaqeV0M2L8+9U+++TI/-Tmp-/easy_install-Jv4D7Q/ll-xist-3.8.2/egg-dist-tmp-HeKwe4 src/ll/_url.c: In function ‘escape’: src/ll/_url.c:47: warning: pointer targets in assignment differ in signedness In file included from src/ll/_misc.c:37: src/ll/_misc_include.c: In function ‘xmlescape_str’: src/ll/_misc_include.c:53: warning: pointer targets in assignment differ in signedness src/ll/xist/sgmlop.c:77: warning: ‘copyright’ defined but not used src/ll/xist/sgmlop.c:244: warning: ‘wf_checker’ defined but not used Adding ll-xist 3.8.2 to easy-install.pth file Installing db2ul4.py script to /Users/walter/.local/bin Installing doc2txt.py script to /Users/walter/.local/bin Installing dtd2xsc.py script to /Users/walter/.local/bin Installing oracreate.py script to /Users/walter/.local/bin Installing oradelete.py script to /Users/walter/.local/bin Installing oradiff.py script to /Users/walter/.local/bin Installing oradrop.py script to /Users/walter/.local/bin Installing orafind.py script to /Users/walter/.local/bin Installing oragrant.py script to /Users/walter/.local/bin Installing oramerge.py script to /Users/walter/.local/bin Installing tld2xsc.py script to /Users/walter/.local/bin Installing ucat.py script to /Users/walter/.local/bin Installing ucp.py script to /Users/walter/.local/bin Installing uls.py script to /Users/walter/.local/bin Installing xml2xsc.py script to /Users/walter/.local/bin Installing oramerge script to /Users/walter/.local/bin Installing db2ul4 script to /Users/walter/.local/bin Installing oradiff script to /Users/walter/.local/bin Installing ucp script to /Users/walter/.local/bin Installing uls script to /Users/walter/.local/bin Installing tld2xsc script to /Users/walter/.local/bin Installing oradrop script to /Users/walter/.local/bin Installing ucat script to /Users/walter/.local/bin Installing dtd2xsc script to /Users/walter/.local/bin Installing doc2txt script to /Users/walter/.local/bin Installing oragrant script to /Users/walter/.local/bin Installing oracreate script to /Users/walter/.local/bin Installing oradelete script to /Users/walter/.local/bin Installing orafind script to /Users/walter/.local/bin Installing xml2xsc script to /Users/walter/.local/bin

Installed /Users/walter/.local/lib/python2.7/site-packages/ll_xist-3.8.2-py2.7-macosx-10.6-x86_64.egg Reading http://cx-oracle.sourceforge.net/ Processing dependencies for ll-xist Finished processing dependencies for ll-xist }}}

Comments (0)

  1. Log in to comment