Hi Mentors,

I'm currently working on a program written in python. The source-tree
looks like this:

foo.py
bar.py
baz.py
ex1.py
ex2.py
ex3.py

where ex*.py are executables and the others not. My question is, where
to put all these files and what should I do with the executables?

My current idea is:
- copy all *.py into /usr/share/$PACKAGE/
- create symlinks like
  /u/s/p/ex1.py <- /usr/bin/ex1.py
  /u/s/p/ex2.py <- /usr/bin/ex2.py
  /u/s/p/ex3.py <- /usr/bin/ex3.py

Is the location /usr/share/$PACKAGE OK? Should I create the symlinks
without the py-extension, like:
  /usr/bin/ex1 -> /u/s/ex1.py

Next problem, lintian is complaining (W) about non-executable scripts in
/usr/share/$PACKAGE -- can I ignore this?

BTW: I already know and use dh_python.


Kind regards

Bastian


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to