equal
deleted
inserted
replaced
|
1 #!/usr/bin/python -S |
|
2 |
|
3 import sys |
|
4 sys.path[0:0] = [ |
|
5 '/home/nishanth/Desktop/pytask/parts/buildout', |
|
6 ] |
|
7 |
|
8 |
|
9 import os |
|
10 path = sys.path[0] |
|
11 if os.environ.get('PYTHONPATH'): |
|
12 path = os.pathsep.join([path, os.environ['PYTHONPATH']]) |
|
13 os.environ['BUILDOUT_ORIGINAL_PYTHONPATH'] = os.environ.get('PYTHONPATH', '') |
|
14 os.environ['PYTHONPATH'] = path |
|
15 import site # imports custom buildout-generated site.py |
|
16 |
|
17 import zc.buildout.buildout |
|
18 |
|
19 if __name__ == '__main__': |
|
20 zc.buildout.buildout.main() |