python distribution question

Y

Yun Mao

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,777
Messages
2,569,604
Members
45,233
Latest member
AlyssaCrai

Latest Threads

Top