[Python-Dev] site enhancements (request for review)

Greg Ewing greg.ewing at canterbury.ac.nz
Tue Apr 26 07:12:14 CEST 2005

Bob Ippolito wrote:
> A few weeks ago I put together a patch to site.py for Python 2.5 
> <http://python.org/sf/1174614> that solves three major deficiencies:
 > [concerning .pth files]

While we're on the subject of .pth files, what about
the idea of scanning the directory containing the main
.py file for .pth files? This would make it easier to
have collections of Python programs sharing a common
set of modules, without having to either install them
system-wide or write hairy sys.path-manipulating code
or use platform-dependent symlink or PATH hacks.

Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury,	   | A citizen of NewZealandCorp, a	  |
Christchurch, New Zealand	   | wholly-owned subsidiary of USA Inc.  |
greg.ewing at canterbury.ac.nz	   +--------------------------------------+

More information about the Python-Dev mailing list