By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,235 Members | 1,057 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,235 IT Pros & Developers. It's quick & easy.

Distutils questions.

P: n/a
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

Dec 1 '06 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.