wang1986one / pyo

Automatically exported from code.google.com/p/pyo
GNU General Public License v3.0
0 stars 0 forks source link

setup.py installs files in /usr/lib even if prefix is /usr/local #23

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. python setup.py build
2. sudo python setup.py install

I see: 

$ sudo python setup.py install 
running install
running build
running build_py
running build_ext
running install_lib
copying build/lib.linux-i686-2.6/_pyo.so -> 
/usr/local/lib/python2.6/dist-packages

...

byte-compiling /usr/local/lib/python2.6/dist-packages/pyolib/_tkwidgets.py to 
_tkwidgets.pyc
running install_data
copying pyo.py -> /usr/lib/python2.6/dist-packages
creating /usr/lib/python2.6/dist-packages/pyolib
creating /usr/lib/python2.6/dist-packages/pyolib/snds
copying pyolib/snds/transparent.aif -> 
/usr/lib/python2.6/dist-packages/pyolib/snds
copying pyolib/snds/accord.aif -> /usr/lib/python2.6/dist-packages/pyolib/snds
running install_egg_info
Writing /usr/local/lib/python2.6/dist-packages/pyo-0.5.1.egg-info

This is Pyo from the SVN on Ubuntu Lucid GNU/Linux.

Original issue reported on code.google.com by que...@gmail.com on 21 Nov 2011 at 6:39

GoogleCodeExporter commented 9 years ago
Yes, with Ubuntu, you must add the flag --install-layout=deb. Then, everything 
is installed at the right place.

Original comment by belan...@gmail.com on 21 Nov 2011 at 11:07

GoogleCodeExporter commented 9 years ago

Original comment by belan...@gmail.com on 26 May 2012 at 1:11