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

2005-04-26 Thread Greg Ewing
Guido van Rossum wrote: I do that all the time without .pth files -- I just put all the common modules in a package and place the package in the directory containing the "main" .py files. That's fine as long as you're willing to put all the main .py files together in one directory, with everything

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

2005-04-26 Thread Guido van Rossum
> 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 wri

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

2005-04-26 Thread Bob Ippolito
On Apr 26, 2005, at 1:12 AM, Greg Ewing wrote: Bob Ippolito wrote: A few weeks ago I put together a patch to site.py for Python 2.5 that solves three major deficiencies: > > [concerning .pth files] While we're on the subject of .pth files, what about the idea of scan

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

2005-04-25 Thread Greg Ewing
Bob Ippolito wrote: A few weeks ago I put together a patch to site.py for Python 2.5 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