distutils - setup - lib problem

rocksportrocker rocksportrocker at googlemail.com
Wed Jul 2 10:38:56 CEST 2008


Hi,

I've got some problems with the following setup.py file.
using "python setup.py install -f" it shows that wrap_ica.so is copied
to /usr and not to ..../site-packages as I assumed.
What am I doing wrong ? I'm using Python 2.4 on Debian Linux.

-----------------------------------------------------

from distutils.core import setup
import glob

setup(name='py_ica',
      py_modules=['py_ica'],
      data_files=[(".", ["wrap_ica.so"]),
                 ]
      )
-----------------------------------------------------

Greetings, Uwe



More information about the Python-list mailing list