influence platorm during install -end user question

Peter Hartmann ascensiontech at gmail.com
Fri Sep 16 19:42:22 CEST 2005


How do I influence the platform type during install?  Could you look
at this and tell me what I'm doing wrong?  It's still using
information from get_platform instead of using my preference.

[root at k12linux pyosd-0.2.14]# python setup.py install
--install-purelib=lib.linux=i686-2.3 
--install-lib=/usr/lib/python2.3/site-packages
running install
running build
running build_py
running build_ext
running install_lib
creating /usr/lib/python2.3/site-packages/pyosd
copying build/lib.linux-x86_64-2.3/pyosd/__init__.py ->
/usr/lib/python2.3/site-packages/pyosd
copying build/lib.linux-x86_64-2.3/pyosd/daemon.py ->
/usr/lib/python2.3/site-packages/pyosd
byte-compiling /usr/lib/python2.3/site-packages/pyosd/__init__.py to
__init__.pyc
byte-compiling /usr/lib/python2.3/site-packages/pyosd/daemon.py to daemon.pyc


On 9/15/05, Peter Hartmann <ascensiontech at gmail.com> wrote:
> Hello,
> I could really use some help.  I'm trying to install a python program
> on centos4 x86_64.  When I run 'python setup.py' it ends up in
> /usr/lib64/python2.3/site-packages/  instead of
> /usr/lib/python2.3/site-packages.  It's a problem because the program
> I'm trying to install is a dependency for something that is only
> 32bit.  How can I specify a 32bit install?    What I've tried so far:
> When I try 'python setup.py build --build-lib
> /usr/lib/python2.3/site-packages'  and  'python setup.py install
> --install-lib /usr/lib/python2.3/site-packages', it installs the 64bit
> version into the 32bit library.    Can anyone help me?
> 
> Thanks,
> Peter
>



More information about the Python-list mailing list