diff options
-rwxr-xr-x | scripts/dev/build_release.py | 2 | ||||
-rw-r--r-- | tox.ini | 11 |
2 files changed, 12 insertions, 1 deletions
diff --git a/scripts/dev/build_release.py b/scripts/dev/build_release.py index 68befff65..b6f49a5a6 100755 --- a/scripts/dev/build_release.py +++ b/scripts/dev/build_release.py @@ -275,7 +275,7 @@ def build_windows(): utils.print_title("Running pyinstaller 32bit") _maybe_remove(out_32) - call_tox('pyinstaller', '-r', python=python_x86) + call_tox('pyinstaller32', '-r', python=python_x86) shutil.move(out_pyinstaller, out_32) utils.print_title("Running pyinstaller 64bit") @@ -187,6 +187,17 @@ deps = commands = {envbindir}/pyinstaller --noconfirm misc/qutebrowser.spec +[testenv:pyinstaller32] +# A copy of the pyinstaller environment above, to be used for 32-bit on Windows +# to make sure the both installations are separated. +# This doesn't actually do anything 32-bit specific, that part happens by +# setting the PYTHON environment variable accordingly. +basepython = {[testenv:pyinstaller]basepython} +pip_version = {[testenv:pyinstaller]pip_version} +passenv = {[testenv:pyinstaller]passenv} +deps = {[testenv:pyinstaller]deps} +commands = {[testenv:pyinstaller]commands} + [testenv:eslint] # This is duplicated in travis_run.sh for Travis CI because we can't get tox in # the JavaScript environment easily. |