Browse Source

detection of windows command style wip

master
poikilos 8 years ago
committed by Jacob Gustafson
parent
commit
76aa06c7e3
  1. 9
      expertmm.py
  2. 2
      pythoninfo.py

9
expertmm.py

@ -5,10 +5,11 @@ import copy
verbose_enable = False
#os_name = "GNU/Linux"
#if os.sep=="\\":
# os_name = "windows"
# print("Windows detected")
os_name = "GNU/Linux"
if os.sep=="\\":
os_name = "windows"
print("Windows detected")
#TODO: deprecate os_name--still needed for detecting whether to use squote in singleimage.py (when not Windows, squote is "'" otherwise "")
#formerly pcttext:
#uppercase_chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"

2
pythoninfo.py

@ -3,7 +3,7 @@ from expertmm import *
python_exe_path = "python"
if os_name=="windows":
#if os_name=="windows":
try:
alt_path = "C:\\python27\python.exe"
if os.path.isfile(alt_path):

Loading…
Cancel
Save