changed zip filename
This commit is contained in:
parent
7e27282b92
commit
6c000478f2
@ -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")
|
||||
|
BIN
build/powder
BIN
build/powder
Binary file not shown.
@ -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
|
||||
|
Reference in New Issue
Block a user