Skip to content

Commit 932a251

Browse files
committed
fix(client): update PyInstaller to package requests lib properly
The versions of the deis CLI created by "make -C client/ build" were using PyInstaller 2.1, the current release. This updates PyInstaller used for packaging to a current SHA, which includes a hook script for the python requests library to package its data files correctly.
1 parent f21159f commit 932a251

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

client/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
build: setup-venv
3-
venv/bin/pip install docopt==0.6.2 python-dateutil==2.2 PyYAML==3.11 requests==2.4.3 pyinstaller==2.1 termcolor==1.1.0
3+
venv/bin/pip install docopt==0.6.2 python-dateutil==2.2 PyYAML==3.11 requests==2.4.3 git+https://github.com/pyinstaller/pyinstaller@7413317 termcolor==1.1.0
44
venv/bin/pyinstaller deis.spec
55
chmod +x dist/deis
66

controller/dev_requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ requests==2.4.3
55
termcolor==1.1.0
66

77
# PyInstaller builds client binaries
8-
PyInstaller==2.1
8+
git+https://github.com/pyinstaller/pyinstaller@7413317
99

1010
# Deis documentation requirements
1111
Sphinx>=1.2.3

tests/bin/build-deis-cli.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@
44

55
virtualenv --system-site-packages venv
66
. venv/bin/activate
7-
pip install docopt==0.6.2 python-dateutil==2.2 PyYAML==3.11 requests==2.4.3 pyinstaller==2.1 termcolor==1.1.0
7+
pip install docopt==0.6.2 python-dateutil==2.2 PyYAML==3.11 requests==2.4.3 git+https://github.com/pyinstaller/pyinstaller@7413317 termcolor==1.1.0
88
make -C client/ client

0 commit comments

Comments
 (0)