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

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

Investigating AuthKit? version dependency problem

  • 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/AuthKit-0.4.1dev_ndg_rc1_r153-py2.5.egg',
7  '/home/pjkersha/workspace/ndg.security.python/buildout/ndgsecurity_pydap/eggs/decorator-3.0.1-py2.5.egg',
8  '/home/pjkersha/workspace/ndg.security.python/buildout/ndgsecurity_pydap/eggs/Beaker-1.3-py2.5.egg',
9  '/home/pjkersha/workspace/ndg.security.python/buildout/ndgsecurity_pydap/eggs/elementtree-1.3b1_20080615_badc_xmlns_fix-py2.5.egg',
10  '/home/pjkersha/workspace/ndg.security.python/buildout/ndgsecurity_pydap/eggs/python_openid-2.2.1-py2.5.egg',
11  '/home/pjkersha/workspace/ndg.security.python/buildout/ndgsecurity_pydap/eggs/PasteScript-1.7.3-py2.5.egg',
12  '/usr/lib/python2.5/site-packages/setuptools-0.6c9-py2.5.egg',
13  '/home/pjkersha/workspace/ndg.security.python/buildout/ndgsecurity_pydap/eggs/PasteDeploy-1.3.3-py2.5.egg',
14  '/home/pjkersha/workspace/ndg.security.python/buildout/ndgsecurity_pydap/eggs/nose-0.10.4-py2.5.egg',
15  '/home/pjkersha/workspace/ndg.security.python/buildout/ndgsecurity_pydap/eggs/Paste-1.7.2-py2.5.egg',
16  ]
17
18_interactive = True
19if len(sys.argv) > 1:
20    import getopt
21    _options, _args = getopt.getopt(sys.argv[1:], 'ic:')
22    _interactive = False
23    for (_opt, _val) in _options:
24        if _opt == '-i':
25            _interactive = True
26        elif _opt == '-c':
27            exec _val
28
29    if _args:
30        sys.argv[:] = _args
31        execfile(sys.argv[0])
32
33if _interactive:
34    import code
35    code.interact(banner="", local=globals())
Note: See TracBrowser for help on using the repository browser.