[csw-maintainers] netsnmp package, policy question

Dagobert Michelsen dam at opencsw.org
Thu Mar 26 13:10:17 CET 2009


Hi Roger,

Am 26.03.2009 um 11:55 schrieb Roger Håkansson:
> What is the standard regarding perl and/or python modules for  
> packages, are those to be packaged in separate packages or is it ok  
> to put them with the main package? (I guess separate, but have to ask)

Yes. See subversion as example for different Python/Ruby/Java packages:
   <http://apps.sourceforge.net/trac/gar/browser/csw/mgar/pkg/subversion/trunk/Makefile 
 >

> Secondly, regarding python packages, the netsnmp install puts python  
> stuff in /opt/csw/lib/python2.6/site-packages, but I've seen other  
> packages put their stuff in /opt/csw/lib/python/site-packages (it  
> could be caused by pysetuptools which have its stuff there and which  
> is used by netsnmp install), is both ok?

This is what Mike wrote some time ago:

Am 15.03.2009 um 17:13 schrieb Mike Watters:
>> * python eggs needed to be reinstalled with easy_install.
>>  they were in lib/python, now they are in lib/python2.6
>>  (but i guess this should not be a real problem ...
>>  even if it would be nice to know why it happens)
>
> prefix/lib/python is a non-standard location for python installs.  I  
> packaged it up standard.
> the "new version" should allow for eggs in prefix/lib/python.   
> During the packaging,
> I "patched" site.py ( the extension that tells python where all the  
> eggs are ) to search the as follows:
>
> lib/python2.6/site-packages:lib/python/site-packages:lib/python2.5/ 
> site-python:\
> lib/python2.3/site-python:lib/python2.1/site-python:lib/python/site- 
> python
>
> are your eggs in /usr/lib/python or ...python/site-packages?


Maybe Mike has a preferred location?


Best regards

   -- Dago


More information about the maintainers mailing list