GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — GateOne/run_gateone.py at master · devtrack/GateOne Expand file tree/ Copy pathrun_gateone.pyMore file actions executable file ·34 lines (27 loc) · 1.09 KB / Copy pathrun_gateone.pyFile metadata and controlsexecutable file ·34 lines (27 loc) · 1.09 KB 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 #!/usr/bin/python """ This script is meant for users that wish to run Gate One out of this (GateOne) directory (as opposed to running setup.py). If you plan to (or already ran) setup.py please use the 'gateone' script which gets installed in your $PATH automatically. """ import os, sys WORKING_DIR = os.path.dirname(os.path.abspath(__file__)) setup_py = os.path.join(WORKING_DIR, 'setup.py') # Insert the path to this script's directory so that the Python interpreter can # import gateone, termio, terminal, and onoff: sys.path.insert(0, WORKING_DIR) # Create the egg-info directory so entry points will work egg_info_dir = os.path.join(WORKING_DIR, 'gateone.egg-info') if not os.path.isdir(egg_info_dir): try: from commands import getstatusoutput except ImportError: # Python 3 from subprocess import getstatusoutput retcode, output = getstatusoutput('python %s egg_info' % setup_py) if retcode != 0: print( "Error: Could not create %s. Permissions problem?" % egg_info_dir) sys.exit(2) from gateone.core.server import main main(installed=False) |
| You are visitor 01402520 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |