Skip to content

Commit 7b46a6a

Browse files
author
Xing Han Lu
authored
Merge pull request #590 from plotly/update-vehicle-geometry-pip
Vehicle Geometry: Upgrade pip in predeploy Former-commit-id: 7d7bd5d
2 parents d4c53e2 + a0eaae2 commit 7b46a6a

File tree

5 files changed

+44
-33
lines changed

5 files changed

+44
-33
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"scripts": {
3+
"dokku": {
4+
"predeploy": "bash predeploy.sh"
5+
}
6+
}
7+
}
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
pip install --upgrade pip
2+
pip install -r requirements-real.txt
3+
pip show gunicorn
4+
python predeploy.py
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
appdirs==1.4.4
2+
Brotli==1.0.9
3+
click==7.1.2
4+
dash==1.19.0
5+
dash-bootstrap-components==0.12.0
6+
dash-core-components==1.15.0
7+
dash-html-components==1.1.2
8+
dash-renderer==1.9.0
9+
dash-table==4.11.2
10+
dash-vtk==0.0.6
11+
Flask==1.1.2
12+
Flask-Compress==1.9.0
13+
future==0.18.2
14+
gunicorn==20.1.0
15+
imageio==2.9.0
16+
importlib-metadata==3.10.0
17+
itsdangerous==1.1.0
18+
Jinja2==2.11.3
19+
MarkupSafe==1.1.1
20+
meshio==4.3.11
21+
numpy==1.20.2
22+
Pillow==8.1.2
23+
plotly==4.14.3
24+
pyvista==0.29.0
25+
retrying==1.3.3
26+
scooby==0.5.6
27+
six==1.15.0
28+
transforms3d==0.3.1
29+
typing-extensions==3.7.4.3
30+
vtk==9.0.1
31+
Werkzeug==1.0.1
32+
zipp==3.4.1
Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +0,0 @@
1-
appdirs==1.4.4
2-
Brotli==1.0.9
3-
click==7.1.2
4-
dash==1.19.0
5-
dash-bootstrap-components==0.12.0
6-
dash-core-components==1.15.0
7-
dash-html-components==1.1.2
8-
dash-renderer==1.9.0
9-
dash-table==4.11.2
10-
dash-vtk==0.0.6
11-
Flask==1.1.2
12-
Flask-Compress==1.9.0
13-
future==0.18.2
14-
gunicorn==20.1.0
15-
imageio==2.9.0
16-
importlib-metadata==3.10.0
17-
itsdangerous==1.1.0
18-
Jinja2==2.11.3
19-
MarkupSafe==1.1.1
20-
meshio==4.3.11
21-
numpy==1.20.2
22-
Pillow==8.1.2
23-
plotly==4.14.3
24-
pyvista==0.29.0
25-
retrying==1.3.3
26-
scooby==0.5.6
27-
six==1.15.0
28-
transforms3d==0.3.1
29-
typing-extensions==3.7.4.3
30-
vtk==9.0.1
31-
Werkzeug==1.0.1
32-
zipp==3.4.1

deploy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ main() {
176176

177177
if [[ "$is_dashr" == false ]]; then
178178
log-info "Python app detected, injecting common python-specific files"
179-
cp -p "$SOURCE_DIR/app.json" "$tmp_full_clone/app.json"
179+
cp -p -n "$SOURCE_DIR/app.json" "$tmp_full_clone/app.json"
180180
cp -p "$SOURCE_DIR/predeploy.py" "$tmp_full_clone/predeploy.py"
181181
test -f "$tmp_full_clone/runtime.txt" || cp -p "$SOURCE_DIR/runtime.txt" "$tmp_full_clone/runtime.txt"
182182
fi

0 commit comments

Comments
 (0)