Python-Support private/public modules

2010-11-02 Thread Daniel Stender
Hi guys,

please excuse if this one would have belonged to a Python mailing list but 
maybe somebody here could
help me out (rookie question?):

packing a Python application here by default 
Debhelper(8)/Python-Support(1.0.10) treat all the
modules as being public and so put them into /usr/share/pyshared.

When I add a file debian/install containing lib usr/share/foo then there are 
again the public
modules and a *copy* of all of them being private (as it should be). Thus two 
lists exists then,
python-support/foo.private *and* python-support/foo.public.

How can I get all the stuff private exlusively?

Thanks in advance for any pointers,
Daniel

-- 
http://www.danielstender.com/granthinam/
GPG key ID: 1654BD9C


-- 
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4cd02730.8010...@danielstender.com



Re: Python-Support private/public modules

2010-11-02 Thread Stefano Rivera
Hi Daniel (2010.11.02_16:58:56_+0200)
 please excuse if this one would have belonged to a Python mailing list
 but maybe somebody here could help me out (rookie question?):

Yeah, there is a debian-python mailing list (and IRC channel) for the
Python teams which are good places to get Python-packaging help.

 When I add a file debian/install containing lib usr/share/foo

Instead of doing that, pass the --install-lib option to setup.py.

e.g. for dh7:

override_dh_auto_install:
dh_auto_install -- --install-lib /usr/share/foo

SR

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  H: +27 21 465 6908 C: +27 72 419 8559  UCT: x3127


-- 
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20101102154027.ga29...@bach.rivera.co.za