File tree Expand file tree Collapse file tree 2 files changed +6
-19
lines changed
packages/Debian/common/DEBIAN Expand file tree Collapse file tree 2 files changed +6
-19
lines changed Original file line number Diff line number Diff line change @@ -70,8 +70,13 @@ copy_new_data () {
70
70
fi
71
71
}
72
72
73
- # main
73
+ install_pip3_packages () {
74
+ pip3 install -r /usr/local/foglamp/python/requirements.txt
75
+ }
74
76
77
+ # main
78
+ echo " Install python dependencies"
79
+ install_pip3_packages
75
80
echo " Resolving data directory"
76
81
copy_new_data
77
82
echo " Installing service script"
Original file line number Diff line number Diff line change @@ -66,23 +66,6 @@ exists_schema_change_path () {
66
66
echo 1
67
67
}
68
68
69
- install_pip3_packages () {
70
-
71
- sudo pip3 install --upgrade pip
72
- sudo pip3 install psycopg2
73
- sudo pip3 install aiohttp
74
- sudo pip3 install aiohttp_cors
75
- sudo pip3 install chardet
76
- sudo pip3 install requests
77
- sudo pip3 install pyjwt
78
- sudo pip3 install pyparsing
79
- sudo pip3 install aiocoap
80
- sudo pip3 install cbor2
81
- sudo pip3 install pexpect
82
- sudo pip3 install pyjq
83
-
84
- }
85
-
86
69
# main
87
70
88
71
# check if foglamp is installed
114
97
115
98
fi
116
99
117
- install_pip3_packages
118
100
You can’t perform that action at this time.
0 commit comments