forked from openalea/StructureAnalysis
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmultisetup.py
More file actions
38 lines (30 loc) · 853 Bytes
/
multisetup.py
File metadata and controls
38 lines (30 loc) · 853 Bytes
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
"""Using of make_develop script"""
import os, sys
#a silly comment to trigger a compilation
try:
from openalea.misc.multisetup import Multisetup
except ImportError:
print 'Install OpenAlea.Misc first'
try:
sys.path.insert(0, os.path.join('..','openalea','misc', 'src', 'openalea', 'misc'))
from multisetup import Multisetup
except ImportError,e:
print e
dirs = ['tool',
'stat_tool',
'sequence_analysis',
'tree',
'tree_statistic',
'tree_reduction',
# 'tree_matching',
# 'self_similarity',
]
def main():
args = sys.argv[1:]
if len(args) == 1 and args[0] in ['-h', '--help']:
Multisetup.help()
else:
mysetup = Multisetup(curdir='.', commands=args, packages=dirs)
mysetup.run()
if __name__ == '__main__':
main()