2008-05-11 16:33:44 |
Kjell Braden |
description |
Installing the library via
python setup.py build
sudo python setup.py install
does not lead to a usable pyotr
the otr.py is not copied to the site-package directory
It is usable after doing so |
Installing the library via
python setup.py build
sudo python setup.py install
does not lead to a usable pyotr
the otr.py is not copied to the site-package directory
It is usable after doing so
--
Taken from the upstream python bug:
Distutils should tell swig to create it's C wrapper file into the
temporary directory (eg. build/temp.linux-i686-2.5) and to write the
language specific files to the library directory (eg.
build/lib.linux-i686-2.5).
Rationale:
Without the language specific files, python swig extensions won't be
able to run, so they should definetly be distributed by distutils.
The wrapper files are build by-products and should therefore be in the
temporary directory, so they get cleaned up on "setup.py clean". |
|