From d7cfbed2cd9b4cdd52885410fa01a434cfd441f5 Mon Sep 17 00:00:00 2001 From: Lieuwe Date: Sat, 19 Mar 2011 15:49:36 +0100 Subject: cleanup :D diff --git a/.gitignore b/.gitignore index 408a34c..78bbd3e 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 80e14bd..0000000 Binary files a/build/powder and /dev/null differ diff --git a/build/tptPython.zip b/build/tptPython.zip deleted file mode 100644 index 36dc087..0000000 Binary files a/build/tptPython.zip and /dev/null differ diff --git a/src/main.c b/src/main.c index 7354220..2b41426 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); -- cgit v0.9.2-21-gd62e