python distribution question

Yun Mao maoy at cis.upenn.edu
Sun Jan 25 18:13:08 EST 2004


Hi,

  I wrote a simple python module and try to distribute it by using 
distutil. The setup.py looks straightforward to me, but I'm confused a 
little in distributing the "additional files". It looks like the user can 
change the install dir and prefix by suplying some --install-data 
argument, or --prefix, whatever. My question is that how can my python 
module be aware of where the data are finally installed to? Thanks.


-- Y





More information about the Python-list mailing list