Distutils questions.

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • José Rui Faustino de Sousa

    Distutils questions.

    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



Working...