How to share 3rd-party modules between 2.2 and 2.3?

"Martin v. Löwis" martin at v.loewis.de
Wed Dec 3 18:49:15 EST 2003


Matthew Wilson wrote:

> I want to write some CGI scripts that use pgdb.  I want to write the
> python scripts using python2.3, but the pgdb.py file is in 
> 
> /usr/lib/python2.2/site-packages
> 
> which is not part of sys.path in python2.3.  What is the best way of
> sharing these modules?

Put the code in /usr/lib/site-python.

Regards,
Martin





More information about the Python-list mailing list