~jml/+junk/whip

1 by Jonathan Lange
Initial boring stuff.
1
#!/usr/bin/python
2
3
# This makes sure that users don't have to set up their environment
4
# specially in order to run these programs from bin/.
5
import sys, os
6
script_path = os.path.abspath(sys.argv[0])
7
if 'lp-whip' in script_path.split(os.sep):
8
    sys.path.insert(
9
        0, os.path.dirname(os.path.dirname(script_path)))
10
### end of preamble
11
12
from lpwhip import main
13
4 by Jonathan Lange
Actually do interesting stuff.
14
sys.exit(main.run(sys.argv))