By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
464,835 Members | 957 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 464,835 IT Pros & Developers. It's quick & easy.

distutils - setup - lib problem

P: n/a
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
Jul 2 '08 #1
Share this Question
Share on Google+
1 Reply

P: n/a
On Jul 2, 3:38*am, rocksportrocker <rocksportroc...@googlemail.com>
wrote:
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
Try the distutils group. They'd probably be a little more helpful:
http://mail.python.org/mailman/listinfo/distutils-sig

Mike
Jul 3 '08 #2

This discussion thread is closed

Replies have been disabled for this discussion.