diff options
author | Lars Wirzenius <liw@esme> | 2005-12-03 20:41:56 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@esme> | 2005-12-03 20:41:56 +0200 |
commit | 0f7cd8b5551e2ec4333cb10561375872dd7e03d3 (patch) | |
tree | 217926700638acfa7fe1b523dae7f490308606e9 /enemies-of-carlotta | |
download | eoc-0f7cd8b5551e2ec4333cb10561375872dd7e03d3.tar.gz |
Initial import.
Diffstat (limited to 'enemies-of-carlotta')
-rw-r--r-- | enemies-of-carlotta | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/enemies-of-carlotta b/enemies-of-carlotta new file mode 100644 index 0000000..4852c46 --- /dev/null +++ b/enemies-of-carlotta @@ -0,0 +1,16 @@ +#!/usr/bin/python +# +# This file works as the Enemies of Carlotta startup wrapper. The real +# program is in eoc.py, stored in SHAREDIR (see below). It is large enough +# that the time Python takes to parse and compile it to bytecode is +# significant, therefore we use a very short wrapper (this file) and +# install eoc.py in a way that allows it to be compiled, thus reducing +# startup time. + +SHAREDIR="." + +import sys +sys.path.insert(0, SHAREDIR) + +import eoc +eoc.main(sys.argv[1:]) |