Thanks for your report!

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

** Changed in: pyotr
       Status: New => Won't Fix

** Also affects: python via
   http://bugs.python.org/issue2624
   Importance: Unknown
       Status: Unknown

** Also affects: python2.5 (Ubuntu)
   Importance: Undecided
       Status: New

** Summary changed:

- import otr fails after 'setup.py install'
+ swig support in distutils should use the build and temp dirs

** Description changed:

  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".

-- 
swig support in distutils should use the build and temp dirs
https://bugs.launchpad.net/bugs/229287
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to