summaryrefslogtreecommitdiffstats
path: root/test/SWIG/SWIGOUTDIR-python.py
Commit message (Collapse)AuthorAgeFilesLines
* get_platform_python_info fail on missing Python.hMats Wichmann2018-08-171-2/+2
| | | | | | | | | | evolved the get_platform_python_info test method to fail only if a new flag python_h_required is True. Rolled back the previous change to have the method return the path to the Python.h, this was not really needed since the include path is already returned. Signed-off-by: Mats Wichmann <mats@linux.com>
* Move checking for python header to common locationMats Wichmann2018-08-151-5/+1
| | | | | | | | | | | A previous change added a check for Python.h in one SWIG test which did not have it which turns that test into a skip instead of a fail if the header is not installed. It was pointed out that having 12 tests check for the same thing might be optimised by putting the check in the routine which returns info about the python development environment, so this change makes that modification. Signed-off-by: Mats Wichmann <mats@linux.com>
* SWIG: improve tool detection, and update SWIG tests to run on Windows.Gary Oberbrunner2014-08-211-3/+11
| | | | | | | | | The tool detection is improved by checking for swig in env['SWIG'], where it is commonly set, as well as env['ENV']['PATH']. The tests mostly didn't work on Windows. I updated them all. Mostly to build 32-bit extensions when using 32-bit python on Windows, and use .pyd as the python extension on Windows.
* http://scons.tigris.org/issues/show_bug.cgi?id=2345Greg Noel2010-04-241-5/+0
| | | | | | | Comb out all code that supported earlier versions of Python. Most such code is in snippets of only a few lines and can be identified by having a Python version string in it. Such snippets add up; this combing pass probably got rid of over 500 lines of code.
* Modify the SWIG tests so that OS X is treated like a UNIX platform (which itGreg Noel2009-04-181-11/+7
| | | | | | really is). OS X now not only runs all the SWIG tests (it used to skip many of them because it could not find the appropriate files), it now passes all the tests.
* Be sure to honor the setting of SWIGOUTDIR when the SWIG tool generatesBen Webb2009-03-311-0/+95
Python wrappers.