Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > distutils - setup - lib problem

Reply
Thread Tools

distutils - setup - lib problem

 
 
rocksportrocker
Guest
Posts: n/a
 
      07-02-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
 
Reply With Quote
 
 
 
 
Mike Driscoll
Guest
Posts: n/a
 
      07-03-2008
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
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
distutils, No module named numpy.distutils.fcompiler.conv_template Luis Alberto Zarrabeitia Gomez Python 0 03-30-2009 03:56 PM
can distutils windows installer invoke another distutils windows installer timw.google Python 1 05-11-2006 10:07 PM
Need odbc32.lib odbccp32.lib Praetorian C++ 1 04-20-2006 07:14 PM
Diff betw common/lib and shared/lib in Tomcat James Yong Java 0 09-12-2005 02:36 AM
how to config non-Lib\site-packages\ distutils windows install destination directory? Bengt Richter Python 1 10-28-2004 07:01 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57