diff --git a/addzip.py b/addzip.py index d8f84dcbb..b80d34670 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 d9aa2edbd..80e14bd1c 100755 Binary files a/build/powder and b/build/powder differ diff --git a/build/stdlib.zip b/build/tptPython.zip similarity index 100% rename from build/stdlib.zip rename to build/tptPython.zip diff --git a/src/main.c b/src/main.c index 208c38c44..735422080 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