-
Notifications
You must be signed in to change notification settings - Fork 24
Expand file tree
/
Copy pathinstall.py
More file actions
41 lines (35 loc) · 1.83 KB
/
Copy pathinstall.py
File metadata and controls
41 lines (35 loc) · 1.83 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#!/usr/bin/python3
# -*- coding: utf-8 -*-
import os
from subprocess import call
SUBMODULES_FOLDERS = [
os.path.join('libraries', 'geometry-designer'),
os.path.join('libraries', 'mcv-api'),
os.path.join('libraries', 'mcv-gui'),
os.path.join('libraries', 'mcv-gui-editor'),
os.path.join('libraries', 'pyforms-gui'),
os.path.join('plugins', 'pythonvideoannotator-module-backgroundfinder'),
os.path.join('plugins', 'pythonvideoannotator-module-contoursimages'),
os.path.join('plugins', 'pythonvideoannotator-module-createpaths'),
os.path.join('plugins', 'pythonvideoannotator-module-distances'),
os.path.join('plugins', 'pythonvideoannotator-module-eventsstats'),
os.path.join('plugins', 'pythonvideoannotator-module-findorientation'),
os.path.join('plugins', 'pythonvideoannotator-module-importexport'),
os.path.join('plugins', 'pythonvideoannotator-module-motioncounter'),
os.path.join('plugins', 'pythonvideoannotator-module-patheditor'),
os.path.join('plugins', 'pythonvideoannotator-module-regionsfilter'),
os.path.join('plugins', 'pythonvideoannotator-module-smoothpaths'),
os.path.join('plugins', 'pythonvideoannotator-module-timeline'),
os.path.join('plugins', 'pythonvideoannotator-module-tracking'),
os.path.join('plugins', 'pythonvideoannotator-module-virtualobjectgenerator'),
os.path.join('plugins', 'pythonvideoannotator-module-pathmap'),
os.path.join('plugins', 'pythonvideoannotator-module-deeplab'),
os.path.join('base', 'pythonvideoannotator'),
os.path.join('base', 'pythonvideoannotator-models'),
os.path.join('base', 'pythonvideoannotator-models-gui'),
]
def install():
for submodule in SUBMODULES_FOLDERS:
call(['pip', 'install', '-e', os.path.join(submodule,'.')])
if __name__=='__main__':
install()