File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11
22build : setup-venv
3- venv/bin/pip install docopt==0.6.2 ndg-httpsclient==0.3.3 pyasn1==0.1.7 pyOpenSSL==0.15.1 python-dateutil==2.4.2 PyYAML==3.11 requests==2.5.1 git+https://github.com/pyinstaller/pyinstaller@7413317 tabulate==0.7.4 termcolor==1.1.0 urllib3==1.10.2
3+ venv/bin/pip install -r requirements.txt git+https://github.com/pyinstaller/pyinstaller@7413317
44 venv/bin/pyinstaller deis.spec
55 chmod +x dist/deis
66
@@ -16,9 +16,6 @@ uninstall:
1616clean :
1717 rm -rf build/ dist/ * .egg-info
1818
19- client :
20- pyinstaller deis.spec
21-
2219installer : build
2320 @if [ ! -d makeself ]; then git clone -b single-binary https://github.com/deis/makeself.git; fi
2421 PATH=./makeself:$$ PATH BINARY=deis makeself.sh --bzip2 --current --nox11 dist \
@@ -32,9 +29,9 @@ installer: build
3229
3330setup-venv :
3431 @if [ ! -d venv ]; then virtualenv venv; fi
35- venv/bin/pip install -q flake8==2.4.0
3632
3733test-style : setup-venv
34+ venv/bin/pip install -q flake8==2.4.0
3835 venv/bin/flake8
3936
4037test-unit :
Original file line number Diff line number Diff line change @@ -14,4 +14,4 @@ exe = EXE(pyz,
1414 debug = False ,
1515 strip = None ,
1616 upx = True ,
17- console = True )
17+ console = True )
Original file line number Diff line number Diff line change 1+ # Deis CLI requirements
2+
3+ docopt == 0.6.2
4+ ndg-httpsclient == 0.3.3
5+ pyasn1 == 0.1.7
6+ pyOpenSSL == 0.15.1
7+ python-dateutil == 2.4.2
8+ PyYAML == 3.11
9+ requests == 2.5.1
10+ tabulate == 0.7.4
11+ termcolor == 1.1.0
12+ urllib3 == 1.10.2
Original file line number Diff line number Diff line change 2727 KWARGS = {'scripts' : ['deis' ]}
2828
2929
30+ with open ('requirements.txt' ) as f :
31+ required = f .read ().splitlines ()
32+ required = [r for r in required if r .strip () and not r .startswith ('#' )]
33+
34+
3035setup (name = 'deis' ,
3136 version = '1.6.0-dev' ,
3237 license = APACHE_LICENSE ,
5661 ('.' , ['README.rst' ]),
5762 ],
5863 long_description = LONG_DESCRIPTION ,
59- install_requires = [
60- 'docopt==0.6.2' , 'ndg-httpsclient==0.3.3' ,
61- 'pyasn1==0.1.7' , 'pyOpenSSL==0.15.1' ,
62- 'python-dateutil==2.4.2' , 'PyYAML==3.11' ,
63- 'requests==2.5.1' , 'tabulate==0.7.4' ,
64- 'termcolor==1.1.0' , 'urllib3==1.10.2' ,
65- ],
64+ install_requires = required ,
6665 zip_safe = True ,
6766 ** KWARGS )
Original file line number Diff line number Diff line change 1- # Deis client requirements
2- docopt==0.6.2
3- ndg-httpsclient==0.3.3
4- pyasn1==0.1.7
5- pyOpenSSL==0.15.1
6- python-dateutil==2.4.2
7- PyYAML==3.11
8- requests==2.5.1
9- tabulate==0.7.4
10- termcolor==1.1.0
11- urllib3==1.10.2
12-
13- # PyInstaller builds client binaries
14- git+https://github.com/pyinstaller/pyinstaller@7413317
15-
16- # Deis documentation requirements
17- Sphinx==1.3.1
18- smartypants==1.8.6
19- sphinxcontrib-httpdomain==1.3.0
20-
21- # Run "make coverage" for the % of code exercised during tests
1+ # Run "make coverage" or "make test-unit" for the % of code exercised during tests
222coverage>=3.7.1
233
24- # Generates template documentation in the Django admin
25- docutils>=0.12
26-
274# Run "make flake8" to check python syntax and style
285flake8==2.4.0
296
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ PyYAML==3.11
2323South==1.0.2
2424python-ldap==2.4.19
2525
26- # Deis client requirements
26+ # Deis client requirements, copied from client/requirements.txt
2727docopt==0.6.2
2828ndg-httpsclient==0.3.3
2929pyasn1==0.1.7
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments