swig support in distutils should use the build and temp dirs

Bug #229287 reported by Medha
4
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.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".

Revision history for this message
Kjell Braden (afflux) wrote :

Thanks for your report!

This is actually a bug in python: http://bugs.python.org/issue2624

Changed in pyotr:
status: New → Won't Fix
description: updated
Revision history for this message
Kjell Braden (afflux) wrote :

A patch is available at the upstream bug tracker.

Changed in python2.5:
importance: Undecided → Low
status: New → Triaged
Revision history for this message
Kjell Braden (afflux) wrote :
Changed in python:
status: Unknown → New
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.