swig support in distutils should use the build and temp dirs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Off-The-Record implementation in python |
Won't Fix
|
Undecided
|
Unassigned | ||
Python |
New
|
Unknown
|
|||
python2.5 (Ubuntu) |
Triaged
|
Low
|
Unassigned |
Bug 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
--
Taken from the upstream python bug:
Distutils should tell swig to create it's C wrapper file into the
temporary directory (eg. build/temp.
language specific files to the library directory (eg.
build/lib.
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".
Changed in python: | |
status: | Unknown → New |
Thanks for your report!
This is actually a bug in python: http:// bugs.python. org/issue2624