distutils - setup - lib problem

  • Thread starter rocksportrocker
  • Start date
R

rocksportrocker

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"]),
]
)
 
M

Mike Driscoll

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"]),
                 ]
      )

Try the distutils group. They'd probably be a little more helpful:
http://mail.python.org/mailman/listinfo/distutils-sig

Mike
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,968
Messages
2,570,153
Members
46,699
Latest member
AnneRosen

Latest Threads

Top