Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Distutils questions.

Reply
Thread Tools

Distutils questions.

 
 
=?iso-8859-1?Q?Jos=E9_Rui_Faustino_de_Sousa?=
Guest
Posts: n/a
 
      12-01-2006
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



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
distutils, No module named numpy.distutils.fcompiler.conv_template Luis Alberto Zarrabeitia Gomez Python 0 03-30-2009 03:56 PM
can distutils windows installer invoke another distutils windows installer timw.google Python 1 05-11-2006 10:07 PM
Haskell distutils-type system Isaac Jones Python 2 07-03-2003 05:39 AM
Distutils directory questions Edward K. Ream Python 1 06-28-2003 04:02 PM
distutils deficiency PenguinOfDoom Python 0 06-24-2003 11:52 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57