source: TI12-security/trunk/python/buildout/ndgsecurity_pydap/bin/py @ 5207

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI12-security/trunk/python/buildout/ndgsecurity_pydap/bin/py@5207
Revision 5207, 1.6 KB checked in by pjkersha, 11 years ago (diff)

netcdf plugin egg for pydap buildout

  • Property svn:executable set to *
Line 
1#!/usr/bin/python2.5
2
3import sys
4
5sys.path[0:0] = [
6  '/home/pjkersha/workspace/ndg.security.python/buildout/ndgsecurity_pydap/eggs/Pydap-3.0.b.3-py2.5.egg',
7  '/usr/lib/python2.5/site-packages/setuptools-0.6c9-py2.5.egg',
8  '/home/pjkersha/workspace/ndg.security.python/buildout/ndgsecurity_pydap/eggs/pydap.handlers.netcdf-0.4.4-py2.5.egg',
9  '/home/pjkersha/workspace/ndg.security.python/buildout/ndgsecurity_pydap/eggs/arrayterator-1.0.1-py2.5.egg',
10  '/home/pjkersha/workspace/ndg.security.python/buildout/ndgsecurity_pydap/eggs/pupynere-1.0.9-py2.5.egg',
11  '/home/pjkersha/workspace/ndg.security.python/buildout/ndgsecurity_pydap/eggs/PasteDeploy-1.3.3-py2.5.egg',
12  '/home/pjkersha/workspace/ndg.security.python/buildout/ndgsecurity_pydap/eggs/PasteScript-1.7.3-py2.5.egg',
13  '/home/pjkersha/workspace/ndg.security.python/buildout/ndgsecurity_pydap/eggs/Paste-1.7.2-py2.5.egg',
14  '/home/pjkersha/workspace/ndg.security.python/buildout/ndgsecurity_pydap/eggs/Genshi-0.5.1-py2.5-linux-i686.egg',
15  '/home/pjkersha/workspace/ndg.security.python/buildout/ndgsecurity_pydap/eggs/httplib2-0.4.0-py2.5.egg',
16  '/home/pjkersha/workspace/ndg.security.python/buildout/ndgsecurity_pydap/eggs/numpy-1.3.0-py2.5-linux-i686.egg',
17  ]
18
19_interactive = True
20if len(sys.argv) > 1:
21    import getopt
22    _options, _args = getopt.getopt(sys.argv[1:], 'ic:')
23    _interactive = False
24    for (_opt, _val) in _options:
25        if _opt == '-i':
26            _interactive = True
27        elif _opt == '-c':
28            exec _val
29
30    if _args:
31        sys.argv[:] = _args
32        execfile(sys.argv[0])
33
34if _interactive:
35    import code
36    code.interact(banner="", local=globals())
Note: See TracBrowser for help on using the repository browser.