Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#2 using python-config to retrieve python optios

open
nobody
None
5
2011-08-03
2011-08-03
Anonymous
No

The attached patch uses the python-config script to figure out the options to compile against python in unix environments.

That avoids using the PYTHON_PATH variable. The PYTHON_VERSION one is still useful but not required because python-config scripts are also versioned with python-config pointing to the default one..

I don't know if those scrips are available in windows as well but if they are, it would be interesting to use them and simplify the pro file.

Discussion

  • Sorry i was logged out when i submmited this. So it was me if some one wants to comment the patch.