changed zip filename

This commit is contained in:
Lieuwe
2011-03-18 23:10:38 +01:00
parent 7e27282b92
commit 6c000478f2
4 changed files with 2 additions and 2 deletions

View File

@@ -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")

Binary file not shown.

View File

@@ -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