mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-04-21 11:27:38 +03:00
setup.py: Check we're running under Python 3.7.x
This commit is contained in:
parent
a6b23e741d
commit
e515c5b3e0
2
setup.py
2
setup.py
@ -21,6 +21,8 @@ import semantic_version
|
||||
from config import appname as APPNAME, applongname as APPLONGNAME, appcmdname as APPCMDNAME, appversion as VERSION, copyright as COPYRIGHT
|
||||
from config import update_feed, update_interval
|
||||
|
||||
if sys.version_info[0:2] != (3, 7):
|
||||
raise AssertionError(f'Unexpected python version {sys.version}')
|
||||
|
||||
if sys.platform=='win32':
|
||||
assert platform.architecture()[0]=='32bit', 'Assumes a Python built for 32bit'
|
||||
|
Loading…
x
Reference in New Issue
Block a user