mirror of
https://github.com/michaelcmartin/Ophis.git
synced 2024-09-07 13:54:30 +00:00
Most of the work is handled by 2to3, but there's a few extra tricks needed to finish the job, mostly about picking the right bits to be Unicode and the right bits to be bytes.
11 lines
221 B
Python
Executable File
11 lines
221 B
Python
Executable File
#!/usr/bin/env python3
|
|
|
|
from os.path import realpath, dirname, join
|
|
from sys import argv, exit, path
|
|
|
|
path.insert(0, join(dirname(realpath(argv[0])), '..', 'src'))
|
|
|
|
import Ophis.Main
|
|
|
|
exit(Ophis.Main.run_ophis(argv[1:]))
|