diff options
author | Florian Bruhin <git@the-compiler.org> | 2015-06-23 23:34:30 +0200 |
---|---|---|
committer | Florian Bruhin <git@the-compiler.org> | 2015-06-23 23:34:30 +0200 |
commit | b337cfe4c6f49079e51951bba25242f64cfc54c6 (patch) | |
tree | b844b1a5b22bc92322eece77eb763d2c74861597 | |
parent | 3dbf3f9e0ab69bfe33d3f8ead90026df6a3c57b0 (diff) | |
download | qutebrowser-b337cfe4c6f49079e51951bba25242f64cfc54c6.tar.gz qutebrowser-b337cfe4c6f49079e51951bba25242f64cfc54c6.zip |
Enforce a 32bit Python in build_release.py.
-rwxr-xr-x | scripts/build_release.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/build_release.py b/scripts/build_release.py index f76f6bf27..e18dfab57 100755 --- a/scripts/build_release.py +++ b/scripts/build_release.py @@ -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: |