cmullins7 / pyscripter

Automatically exported from code.google.com/p/pyscripter
0 stars 0 forks source link

Add project path into Python path #229

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Feature request:

It's real pain to add my project's path into Python path every time after
starting PyScripter. It could be very useful to make some project property
"Project's PYTHONPATH" - directories list similar to PyScripter's one.
And "Automatically Add to PYTHONPATH" check-box there to allow automatic
importing specified directories on project opening.

Original issue reported on code.google.com by irium....@gmail.com on 14 Jun 2008 at 1:02

GoogleCodeExporter commented 9 years ago
Interesting feature.  It is not really necessary for running scripts (the script
directory is added automatically) but it could be useful for testing scripts 
from the
interpreter or adding packages on the path which are project specific.

Original comment by pyscripter on 15 Jun 2008 at 11:17

GoogleCodeExporter commented 9 years ago
> It is not really necessary for running scripts (the script
> directory is added automatically)
I'm developing on Django, and sometimes I need to run some script, that lies 
INSIDE a
some application directory (i.e. deep in project's subfolders). And for those 
scripts
can run properly the ROOT of the project should be in the path - because script 
could
import packages from other apps and so on. This is why I ask for this feature.

Original comment by irium....@gmail.com on 16 Jun 2008 at 12:35

GoogleCodeExporter commented 9 years ago

Original comment by pyscripter on 10 Aug 2008 at 11:12