haluhak149 / pythonxy

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

Shebang in *.pyw files for python launcher (PEP 397). #593

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Need to replace shebangs #!pythonw.exe -> #!python2 in all .*pyw files in the 
"Scripts" folder for proper operation of python launcher (PEP 397). This 
launcher installs by default with Python 3.3. The problem arises in case of 
simultaneous presence of Python (x, y) and Python 3.x (or manually installed 
launcher).

Info:
http://www.python.org/dev/peps/pep-0397/
http://blog.python.org/2011/07/python-launcher-for-windows_11.html

Sorry, i speak English badly.

Python(x,y) 2.7.3.1, Windows 7 32 bit

Original issue reported on code.google.com by DrLem...@gmail.com on 4 Feb 2013 at 3:02

GoogleCodeExporter commented 9 years ago
And #!python.exe -> #!python2. And not only in *.pyw. Replace is needed in all 
python scripts in the "Scripts" folder.

Original comment by DrLem...@gmail.com on 4 Feb 2013 at 3:29

GoogleCodeExporter commented 9 years ago
The scripts are generated using Dsitribute/distutils. When these tools be 
updated and all scripts will be updated as well.

Original comment by grizzly.nyo on 1 Mar 2013 at 4:51