cleanup :D
This commit is contained in:
parent
6c000478f2
commit
d7cfbed2cd
2
.gitignore
vendored
2
.gitignore
vendored
@ -8,5 +8,5 @@ build/stamps/*
|
|||||||
*.pyc
|
*.pyc
|
||||||
utils/*
|
utils/*
|
||||||
*.log
|
*.log
|
||||||
build/ext_*
|
build/*
|
||||||
src/python/stdlib/*
|
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
|
//initialise python console
|
||||||
Py_Initialize();
|
Py_Initialize();
|
||||||
|
PyRun_SimpleString("print 'python present.'");
|
||||||
Py_InitModule("tpt", EmbMethods);
|
Py_InitModule("tpt", EmbMethods);
|
||||||
//change the path to find all the correct modules
|
//change the path to find all the correct modules
|
||||||
PyRun_SimpleString("import sys\nsys.path.append('./tptPython.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
|
//load the console module and whatnot
|
||||||
#ifdef PYEXT
|
#ifdef PYEXT
|
||||||
PyRun_SimpleString(tpt_console_py);
|
PyRun_SimpleString(tpt_console_py);
|
||||||
|
Reference in New Issue
Block a user