Distutils questions.

Discussion in 'Python' started by =?iso-8859-1?Q?Jos=E9_Rui_Faustino_de_Sousa?=, Dec 1, 2006.

  1. Hi!

    I am writing a package installation using distutils it is very nice but
    I have it two snags:

    setup(...
    data_files=[("foo",["*.data""])],\
    ....)

    setup.py install --prefix=/usr/bar/baz

    a) Shouldn't the *.data syntax work?

    b) Why does it install the data files on /usr/bar/baz/foo and not in
    /usr/bar/baz/share/foo like the documentation seems to imply?

    Everything else seems to work as advertised scripts go to <prefix>/bin
    packages to <prefix>/lib/python2.4/site-packages...

    Is it me or is it a bug?

    Best regards
    José Rui
     
    =?iso-8859-1?Q?Jos=E9_Rui_Faustino_de_Sousa?=, Dec 1, 2006
    #1
    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. Edward K. Ream

    Distutils directory questions

    Edward K. Ream, Jun 28, 2003, in forum: Python
    Replies:
    1
    Views:
    765
    Edward K. Ream
    Jun 28, 2003
  2. Christian Seberino

    distutils (packaging) newbie questions please....

    Christian Seberino, Oct 1, 2003, in forum: Python
    Replies:
    4
    Views:
    411
    Christian Seberino
    Oct 7, 2003
  3. Christian Seberino
    Replies:
    0
    Views:
    266
    Christian Seberino
    Oct 11, 2003
  4. timw.google
    Replies:
    1
    Views:
    549
    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,330
    Luis Alberto Zarrabeitia Gomez
    Mar 30, 2009
Loading...

Share This Page