distutils - setup - lib problem

Discussion in 'Python' started by rocksportrocker, Jul 2, 2008.

  1. 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
     
    rocksportrocker, Jul 2, 2008
    #1
    1. Advertising

  2. On Jul 2, 3:38 am, rocksportrocker <>
    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
     
    Mike Driscoll, Jul 3, 2008
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Christian Seberino
    Replies:
    5
    Views:
    842
    Christian Seberino
    Oct 9, 2003
  2. Graham Ashton
    Replies:
    1
    Views:
    469
    Kirby Angell
    Oct 5, 2004
  3. Bengt Richter
    Replies:
    1
    Views:
    334
    =?ISO-8859-1?Q?=22Martin_v=2E_L=F6wis=22?=
    Oct 28, 2004
  4. timw.google
    Replies:
    1
    Views:
    552
    Serge Orlov
    May 11, 2006
  5. Luis Alberto Zarrabeitia Gomez

    distutils, No module named numpy.distutils.fcompiler.conv_template

    Luis Alberto Zarrabeitia Gomez, Mar 30, 2009, in forum: Python
    Replies:
    0
    Views:
    1,343
    Luis Alberto Zarrabeitia Gomez
    Mar 30, 2009
Loading...

Share This Page