Browse Source

improve mapper pathing and pillow messages

master
poikilos 6 years ago
committed by Jacob Gustafson
parent
commit
c4ec0d6766
  1. 6
      filever.py
  2. 6
      install-subgametest.py

6
filever.py

@ -4,10 +4,10 @@ try:
from win32api import GetFileVersionInfo, LOWORD, HIWORD from win32api import GetFileVersionInfo, LOWORD, HIWORD
except: except:
print("you need to install win32api such as with the command:") print("you need to install win32api such as with the command:")
print("python -m pip install --upgrade pip") print("sudo python2 -m pip install --upgrade pip")
print("python -m pip install pypiwin32") print("sudo python -m pip install pypiwin32")
exit(1) exit(1)
from win32api import GetFileVersionInfo, LOWORD, HIWORD from win32api import GetFileVersionInfo, LOWORD, HIWORD
def get_version_number (filename): def get_version_number (filename):

6
install-subgametest.py

@ -21,9 +21,9 @@ except:
" but if in *nix-like environment first 'su -', and if no\n" " but if in *nix-like environment first 'su -', and if no\n"
" pip, use your software manager to install:\n" " pip, use your software manager to install:\n"
" python-pip or python2-pip or python3-pip)\n" " python-pip or python2-pip or python3-pip)\n"
"python -m pip install --upgrade pip\n" "sudo python2 -m pip install --upgrade pip\n"
"python -m pip install --upgrade pip wheel\n" "sudo python2 -m pip install --upgrade pip wheel"
"python -m pip install gitpython\n") "sudo python -m pip install gitpython\n")
#Possible commands: #Possible commands:
# pkg install -y python3-pip python2-pip # pkg install -y python3-pip python2-pip
# apt-get install -y python3-pip python2-pip # apt-get install -y python3-pip python2-pip

Loading…
Cancel
Save