bin/buildout
changeset 69 c6bca38c1cbf
equal deleted inserted replaced
68:5ff1fc726848 69:c6bca38c1cbf
       
     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()