Re: [Pydev-users] .pth files

2011-02-24 Thread Fabio Zadrozny
On Mon, Feb 21, 2011 at 7:23 PM, Luke Crouch wrote: > I wrote a quick script to add the dir's to the .pydevproject file but > I have the same problem after a Project -> Clean ... even though all > the src/* and packages/* directories show up in the PyDev - > PYTHONPATH. > > > #!/usr/bin/env python

Re: [Pydev-users] .pth files

2011-02-21 Thread Luke Crouch
I wrote a quick script to add the dir's to the .pydevproject file but I have the same problem after a Project -> Clean ... even though all the src/* and packages/* directories show up in the PyDev - PYTHONPATH. #!/usr/bin/env python import sys import os from shutil import copyfile from xml.etree

Re: [Pydev-users] .pth files

2011-02-21 Thread Luke Crouch
I can write a script to read the .pth file and add all lines to .pydevproject's pydev_pathproperty, but I think this would be a great feature to add in PyDev itself - "Add .pth file" in addition to "Add source folder", "Add zip/jar/egg" and "Add based on variable" -L On Sat, Feb 19, 2011 at 9:23

Re: [Pydev-users] .pth files

2011-02-19 Thread Fabio Zadrozny
On Fri, Feb 18, 2011 at 6:17 PM, Luke Crouch wrote: > I have a pydev project named 'kuma' with a vendor/kuma.pth file like so: > > packages > packages/pytz > packages/coverage > ... > src > src/django-cronjobs > src/django-cache-machine > > I tried adding vendor/ to the project PYTHONPATH, but it