forked from mikrosimage/OpenRenderManagement
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.py
35 lines (28 loc) · 1.2 KB
/
package.py
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
name = 'puli'
version = '1.7.13'
# If your tool depends on some other package(s)
requires = [
'rez-current',
'python-2',
'tornado-2.2.1',
'requests-2.4.3',
'psutil-2.1.3'
]
# If you need to define some environment variables
def commands():
# Need to prepend the package root to make package version accessible (and not overidden by other packages like tornado)
env.PYTHONPATH.prepend('{root}')
env.PYTHONPATH.append('{root}/src')
env.PATH.append('{root}')
env.PATH.append('{root}/src/pulitools/puliquery')
env.PATH.append('{root}/src/pulitools/puliexec')
# Create some aliases
# These aliases will be directly available in the shell.
# alias('myTool', '{root}/bin/myTool "$@"')
alias('puliexec', 'python {root}/src/pulitools/puliexec/puliexec.py')
alias('pulrn', 'python {root}/src/pulitools/puliquery/pul_rn')
alias('pul_rn', 'python {root}/src/pulitools/puliquery/pul_rn')
alias('pulquery', 'python {root}/src/pulitools/puliquery/pul_query')
alias('pul_query', 'python {root}/src/pulitools/puliquery/pul_query')
alias('workerd', 'python {root}/src/octopus/workerd.py')
# alias('dispatcherd', 'python {root}/src/octopus/dispatcherd.py')