Enforce a 32bit Python in build_release.py.
This commit is contained in:
parent
3dbf3f9e0a
commit
b337cfe4c6
@ -140,6 +140,14 @@ def main():
|
||||
args = parser.parse_args()
|
||||
utils.change_cwd()
|
||||
if os.name == 'nt':
|
||||
if sys.maxsize > 2**32:
|
||||
# WORKAROUND
|
||||
print("Due to a python/Windows bug, this script needs to be run ")
|
||||
print("with a 32bit Python.")
|
||||
print()
|
||||
print("See http://bugs.python.org/issue24493 and ")
|
||||
print("https://github.com/pypa/virtualenv/issues/774")
|
||||
sys.exit(1)
|
||||
build_common(args)
|
||||
build_windows()
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user