LionHeart123 / pyscripter

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

processing Cython files in IDE, when PyScripter is the "portable python" one. #691

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hello all,
sorry for the newbie question, I'm using (from an USB memory stick) the 
PyScripter included in Portable Python 2.7.3.1, and I need to process cython 
files with the standard "python setup.py build_ext --inplace" command.

It's not a difficult issue, of course, but the gcc I want to use to compile the 
generated C module is installed on the same USB stick, too - via portableapps 
(it's an MinGW setup), and so it's not in the PATH.

I'd like to use a run configuration or an external tool to do such a build_ext, 
but actually I'm unable to add the gcc executable directory to the path inside 
the PyScripter environment. 

Of course I can write a .bat file where I set the PATH and then I run the 
python command, but I'd like to know if there is a way to modify the executable 
PATH variable right inside of the PyScripter environment.

Any suggestion will be appreciated. Thanks in advance.
Best Regards

/gp  

Original issue reported on code.google.com by gp.cic...@gmail.com on 11 Oct 2012 at 11:42