sgzwiz / pyscripter

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

Relative path for files listed in project file. #562

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
This is an enhancement, and I think there are some cons but anyway I'd like to 
fill it here to know what you think about it.

The main idea is to have some way to let files used/listed in .psproj to use a 
relative path (from the project file location).

It would be good in two scenarios:

1. sharing project file in project's source code repository.
2. gives some space to this other enhancement:

Suppose you're working in different but related projects concurrently.

And suppose you want to perform different actions in them while working, for 
example: deploy the new version of the project you just updated, into your 
python installed version.

In that case, it would be useful to:

a. browse your project files in the file browser
b. let the run configurations of each of them hang in the tree as if it were 
folders containing files, but there are the run configurations
c. then you can create a run configuration which is just run the `setup.py 
install` which would install the project in your installed python.

Perhaps, I'm thinking in something of higher level than an IDE, my apologies in 
that case.

thanks,
david

Original issue reported on code.google.com by ten...@gmail.com on 20 Sep 2011 at 10:20

GoogleCodeExporter commented 9 years ago
You can use relative paths by right clicking in project explorer and selecting 
"Use Relative Paths"

In setting Run Configurations you can use parameters (see the help topic by 
selecting Help, PyScripter, Parameters).  Using External Run and parameters 
such as $[PYTHON32EXE] etc. for example you can have Run Configurations for 
using different versions of Python.

Am I missing something?

Original comment by pyscripter on 20 Sep 2011 at 10:50

GoogleCodeExporter commented 9 years ago
Sorry, I didn't see the option. Thanks!

What about showing run-configurations below the project file in the 
file-browser pane?

PS: however this ticket can be closed. But if you want to reuse it for the 
run-configurations..

Original comment by ten...@gmail.com on 20 Sep 2011 at 11:39