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

Distutils and scripts in a non standard place

P: n/a
Hi,

I've have some example scripts that I'd like to install under /usr/share
along with my documentation. Currently I'm doing this using...
data_files=[("/usr/share/pylinda/examples/", glob.glob("examples/*.py"))]
....in my setup.py. This doesn't treat them as executable scripts however and
as such doesn't modify the #! line nor does it mark them as executable.

Is there anyway of getting distutils to do this without resorting to the
scripts command, which puts them under /usr/bin?

Thanks in advance for any help,
Andrew Wilkinson

--
Vegetarians eat Vegetables, BEWARE the man who claims to be a Humanitarian.
Jul 18 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.