From 6c000478f21070e420b50cf1060737e821f741d8 Mon Sep 17 00:00:00 2001 From: Lieuwe Date: Fri, 18 Mar 2011 23:10:38 +0100 Subject: changed zip filename diff --git a/addzip.py b/addzip.py index d8f84dc..b80d346 100644 --- a/addzip.py +++ b/addzip.py @@ -12,7 +12,7 @@ if(len(sys.argv)>1 and sys.argv[1]=="--clean"): raise SystemExit print "zipping stdlib" -fid=zipfile.ZipFile("./build/stdlib.zip","w",zipfile.ZIP_DEFLATED) +fid=zipfile.ZipFile("./build/tptPython.zip","w",zipfile.ZIP_DEFLATED) #ZipFile.write(filename) files=os.walk("./src/python/stdlib") diff --git a/build/powder b/build/powder index d9aa2ed..80e14bd 100755 Binary files a/build/powder and b/build/powder differ diff --git a/build/stdlib.zip b/build/stdlib.zip deleted file mode 100644 index 36dc087..0000000 Binary files a/build/stdlib.zip and /dev/null differ diff --git a/build/tptPython.zip b/build/tptPython.zip new file mode 100644 index 0000000..36dc087 Binary files /dev/null and b/build/tptPython.zip differ diff --git a/src/main.c b/src/main.c index 208c38c..7354220 100644 --- a/src/main.c +++ b/src/main.c @@ -2078,7 +2078,7 @@ int main(int argc, char *argv[]) Py_Initialize(); Py_InitModule("tpt", EmbMethods); //change the path to find all the correct modules - PyRun_SimpleString("import sys\nsys.path.append('./stdlib.zip')\nsys.path.append('.')"); + PyRun_SimpleString("import sys\nsys.path.append('./tptPython.zip')\nsys.path.append('.')"); PyRun_SimpleString("print 'python present.'"); //load the console module and whatnot #ifdef PYEXT -- cgit v0.9.2-21-gd62e