Skip to content

Commit 13ccfcb

Browse files
committed
Split requirements in stub only mode and additional packages
1 parent d08a515 commit 13ccfcb

File tree

3 files changed

+47
-39
lines changed

3 files changed

+47
-39
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ git clone https://github.com/CoderBotOrg/coderbot.git
1313
cd coderbot
1414
python3 -m venv .
1515
source bin/activate
16+
17+
# Install the basic requirements
18+
pip3 install -r requirements_stub.txt
19+
# Additional packages if you are running the real thing
1620
pip3 install -r requirements.txt
1721

1822
# Start the backend in stub mode

requirements.txt

Lines changed: 2 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,5 @@
1-
absl-py==0.4.1
2-
apiai==1.2.3
3-
astor==0.7.1
4-
Babel==2.5.3
5-
certifi==2018.4.16
6-
chardet==3.0.4
7-
click==6.7
8-
clickclick==1.2.2
9-
connexion==1.4.2
10-
Flask==1.0.2
11-
Flask-Babel==0.11.2
12-
Flask-Cors==3.0.4
13-
gast==0.2.0
14-
grpcio==1.15.0
15-
idna==2.6
16-
inflection==0.3.1
17-
itsdangerous==0.24
18-
Jinja2==2.10
19-
jsonschema==2.6.0
20-
Markdown==2.6.11
21-
MarkupSafe==1.0
22-
numpy==1.14.3
23-
opencv-contrib-python==3.4.0.12
24-
pigpio==1.40.post1
25-
Pillow==5.1.0
26-
protobuf==3.6.1
1+
# If you need to run the backend only in STUB mode, you don't need these packages, just the set in `requirements_stub.txt`
2+
273
picamera==1.13
284
PyAudio==0.2.11
295
pycairo==1.17.0
30-
Pypubsub==4.0.0
31-
pytz==2018.4
32-
PyYAML==3.12
33-
requests==2.20.0
34-
six==1.11.0
35-
smbus2==0.2.0
36-
swagger-spec-validator==2.3.1
37-
tensorboard==1.11.0
38-
tensorflow==1.11.0
39-
termcolor==1.1.0
40-
tinydb==3.12.1
41-
urllib3==1.22
42-
Werkzeug==0.14.1

requirements_stub.txt

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# Basic set of required packages. If you need to run on a real system (NOT in STUB mode), install the packages in `requirements.txt` too.
2+
3+
absl-py==0.4.1
4+
apiai==1.2.3
5+
astor==0.7.1
6+
Babel==2.5.3
7+
certifi==2018.4.16
8+
chardet==3.0.4
9+
click==6.7
10+
clickclick==1.2.2
11+
connexion==1.4.2
12+
Flask==1.0.2
13+
Flask-Babel==0.11.2
14+
Flask-Cors==3.0.4
15+
gast==0.2.0
16+
grpcio==1.15.0
17+
idna==2.6
18+
inflection==0.3.1
19+
itsdangerous==0.24
20+
Jinja2==2.10
21+
jsonschema==2.6.0
22+
Markdown==2.6.11
23+
MarkupSafe==1.0
24+
numpy==1.14.3
25+
opencv-contrib-python
26+
pigpio==1.40.post1
27+
Pillow==5.1.0
28+
protobuf==3.6.1
29+
Pypubsub==4.0.0
30+
pytz==2018.4
31+
PyYAML==3.12
32+
requests==2.20.0
33+
six==1.11.0
34+
smbus2==0.2.0
35+
swagger-spec-validator==2.3.1
36+
tensorboard==1.11.0
37+
tensorflow==1.11.0
38+
termcolor==1.1.0
39+
tinydb==3.12.1
40+
urllib3==1.22
41+
Werkzeug==0.14.1

0 commit comments

Comments
 (0)