cleanup :D
This commit is contained in:
parent
6c000478f2
commit
d7cfbed2cd
2
.gitignore
vendored
2
.gitignore
vendored
@ -8,5 +8,5 @@ build/stamps/*
|
||||
*.pyc
|
||||
utils/*
|
||||
*.log
|
||||
build/ext_*
|
||||
build/*
|
||||
src/python/stdlib/*
|
BIN
build/powder
BIN
build/powder
Binary file not shown.
Binary file not shown.
@ -2076,10 +2076,10 @@ int main(int argc, char *argv[])
|
||||
|
||||
//initialise python console
|
||||
Py_Initialize();
|
||||
PyRun_SimpleString("print 'python present.'");
|
||||
Py_InitModule("tpt", EmbMethods);
|
||||
//change the path to find all the correct modules
|
||||
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
|
||||
PyRun_SimpleString(tpt_console_py);
|
||||
|
Reference in New Issue
Block a user