Re: PYTHONPATH and eggs

2010-03-04 Thread geoffbache
On Mar 4, 3:24 am, David Cournapeau courn...@gmail.com wrote: On Wed, Mar 3, 2010 at 7:14 PM, geoffbache geoff.ba...@jeppesen.com wrote: Unfortunately, the location from PYTHONPATH ends up after the eggs in sys.path so I can't persuade Python to import my version. The only way I've found

PYTHONPATH and eggs

2010-03-03 Thread geoffbache
Hi all, I have a very simple problem that seems to have no simple solution. I have a module which is installed centrally and lives in a Python egg. I have experimented with some minor changes to it and would like to set my PYTHONPATH to pick up my local copy of it, but don't want to have to

Re: PYTHONPATH and eggs

2010-03-03 Thread Jonathan Gardner
On Wed, Mar 3, 2010 at 2:14 AM, geoffbache geoff.ba...@jeppesen.com wrote: I have a very simple problem that seems to have no simple solution. I have a module which is installed centrally and lives in a Python egg. I have experimented with some minor changes to it and would like to set my

Re: PYTHONPATH and eggs

2010-03-03 Thread David Cournapeau
On Wed, Mar 3, 2010 at 7:14 PM, geoffbache geoff.ba...@jeppesen.com wrote: Unfortunately, the location from PYTHONPATH ends up after the eggs in sys.path so I can't persuade Python to import my version. The only way I've found to fix it is to copy the main script and manually hack sys.path at