diff --git a/.gitignore b/.gitignore index 408a34c96..78bbd3eb0 100644 --- a/.gitignore +++ b/.gitignore @@ -8,5 +8,5 @@ build/stamps/* *.pyc utils/* *.log -build/ext_* +build/* src/python/stdlib/* \ No newline at end of file diff --git a/build/powder b/build/powder deleted file mode 100755 index 80e14bd1c..000000000 Binary files a/build/powder and /dev/null differ diff --git a/build/tptPython.zip b/build/tptPython.zip deleted file mode 100644 index 36dc08774..000000000 Binary files a/build/tptPython.zip and /dev/null differ diff --git a/src/main.c b/src/main.c index 735422080..2b4142632 100644 --- a/src/main.c +++ b/src/main.c @@ -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);