[Distutils] distutils in Mandrake 8.2

Marko Samastur markos@elite.org
Wed Apr 10 01:37:01 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I have a problem that I'm not able to solve on my own. I'm using 
python2.2 that comes with Mandrake Linux distribution 8.2.

I have a tree of python sources that I'd like to package in more or 
less the same tree, which would be installed in site-packages under 
subdirectories pyortal and pyortal-modules.

If I understand python documentation correctly, if I want those modules 
to be easily accessible for everyone, I need to have .pth file in 
site-packages that points to all subdirectories (and right, if I create 
it manually, it works). The problem I have is that if I run bdist_rpm, 
I can see a message that is telling me that .pth is being build, but 
the file is missing in the created rpm.

If I build with bdist only, it creates and includes pyortal.pth (but it 
only lists pyortal directory in it without any subdirectory). So, what 
am I doing wrong? 

While I'm at it...is there an easy way to include normal text files in 
module distribution? Again, if I'm not mistaken, the current way to 
achieve this is to list every one of them in MANIFEST.in.

Thank you for your help. Kind regards,

		Marko
- -- 
HP: http://elite.org/~markos
PGP:http://elite.org/~markos/markos.key
Jabber: markos@aufbix.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8s89FkqL33r/UuYQRAqE8AJ9S0fHXskurhNaNJAZb6dozIaIp3wCgmp5H
OKIbEEFDqmrFtgvsiGM/BO0=
=GPH1
-----END PGP SIGNATURE-----