cleanup :D

This commit is contained in:
Lieuwe 2011-03-19 15:49:36 +01:00
parent 6c000478f2
commit d7cfbed2cd
4 changed files with 2 additions and 2 deletions

2
.gitignore vendored
View File

@ -8,5 +8,5 @@ build/stamps/*
*.pyc
utils/*
*.log
build/ext_*
build/*
src/python/stdlib/*

Binary file not shown.

Binary file not shown.

View File

@ -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);