Re: [Pyobjc-dev] Re: sys.path strangeness
Brought to you by:
ronaldoussoren
From: Bob I. <bo...@re...> - 2005-02-25 17:02:20
|
On Feb 25, 2005, at 11:40 AM, ytrewq1 wrote: > On Fri, 25 Feb 2005 11:02:31 -0500, Bob Ippolito <bo...@re...> > wrote: >> On Feb 25, 2005, at 10:23 AM, ytrewq1 wrote: >> >>> Under certain conditions sys.path becomes permanently modified in an >>> odd manner on my system (until I log out and log back in). Worse, >>> the >>> site-packages directory is removed from sys.path so a bunch of stuff >>> becomes unavailable. >> >> Don't write plugins that get loaded into every process (InputManagers, >> etc.). Build plugins with --site-packages. > > I've rebuilt each of my plug-ins using: > > python setup.py py2app --site-packages > > I also reinstalled them and logged out and back in, but unfortunately, > the problem still recurs. > > As far as PYTHONPATH is concerned, I've got a setting somewhere to > include a user-specific installation of Twisted, but other than that, > I don't think I'm modifying it anywhere. Is this a problem? If it has nothing to do with PYTHONPATH, then you'll have to create an example that I can reproduce here, because I have no idea what else it could be. -bob |