Style
This commit is contained in:
@@ -1,9 +1,9 @@
|
|||||||
from setuptools import setup, Extension
|
from setuptools import setup, Extension
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
# here we assert that the Python version as written to version.txt in the CIBW_BEFORE_BUILD step
|
|
||||||
# is the same one as is currently running.
|
|
||||||
if sys.argv[-1] != '--name':
|
if sys.argv[-1] != '--name':
|
||||||
|
# assert that the Python version as written to version.txt in the CIBW_BEFORE_BUILD step
|
||||||
|
# is the same one as is currently running.
|
||||||
version_file = 'c:\\pythonversion.txt' if sys.platform == 'win32' else '/tmp/pythonversion.txt'
|
version_file = 'c:\\pythonversion.txt' if sys.platform == 'win32' else '/tmp/pythonversion.txt'
|
||||||
with open(version_file) as f:
|
with open(version_file) as f:
|
||||||
stored_version = f.read()
|
stored_version = f.read()
|
||||||
|
|||||||
Reference in New Issue
Block a user