distutils - setup - lib problem

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • rocksportrocker

    distutils - setup - lib problem

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

    Greetings, Uwe
  • Mike Driscoll

    #2
    Re: distutils - setup - lib problem

    On Jul 2, 3:38 am, rocksportrocker <rocksportroc.. .@googlemail.co m>
    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.s o"]),
                     ]
          )
    -----------------------------------------------------
    >
    Greetings, Uwe
    Try the distutils group. They'd probably be a little more helpful:


    Mike

    Comment

    Working...