Fixing indentation error, and keeping only check for setup.py in project root directory in __main__.py

This commit is contained in:
Yannick Jadoul
2018-11-29 23:26:10 +01:00
parent 3d23cbf2a6
commit ccfc3c3aa1
3 changed files with 5 additions and 18 deletions
+1
View File
@@ -9,6 +9,7 @@ with open(version_file) as f:
print('stored_version', stored_version)
print('sys.version', sys.version)
assert stored_version == sys.version
# check that the executable also was written
executable_file = 'c:\\pythonexecutable.txt' if sys.platform == 'win32' else '/tmp/pythonexecutable.txt'
with open(executable_file) as f: