[mapserver-commits] [mapserver/mapserver] 640a22: Add MapScript support for Python 3.x
GitHub
noreply at github.com
Fri Mar 23 04:23:38 PDT 2018
Branch: refs/heads/master
Home: https://github.com/mapserver/mapserver
Commit: 640a22871debb55d0fdbea7be19ff82d07a4d81a
https://github.com/mapserver/mapserver/commit/640a22871debb55d0fdbea7be19ff82d07a4d81a
Author: Jim Klassen <klassen.js at gmail.com>
Date: 2018-03-15 (Thu, 15 Mar 2018)
Changed paths:
M mapscript/python/CMakeLists.txt
M mapscript/python/pyextend.i
M mapscript/python/pymodule.i
M mapscript/python/setup.py
Log Message:
-----------
Add MapScript support for Python 3.x
Allows MapScript to build and run against Python 3.4.
The changes appear to continue to work with Python 2.7.
If there are multiple Python versions installed on your machine,
the Python version that is selected is whatever CMake finds first
or the path set with -DPYTHON_EXECUTABLE=
Changes include:
* print "" ---> print("")
* raise E, "text" ---> raise E("text")
* PyString_FromStringAndSize() ---> PyBytes_FromStringAndSize()
* Remove references to PyFile*
Commit: 04755090c48d95625302e5b2fee4cdc81d2da392
https://github.com/mapserver/mapserver/commit/04755090c48d95625302e5b2fee4cdc81d2da392
Author: Stephan Meißl <stephan at meissl.name>
Date: 2018-03-23 (Fri, 23 Mar 2018)
Changed paths:
M mapscript/python/CMakeLists.txt
M mapscript/python/pyextend.i
M mapscript/python/pymodule.i
M mapscript/python/setup.py
Log Message:
-----------
Merge pull request #5561 from claudep/py3
Add MapScript support for Python 3.x
Compare: https://github.com/mapserver/mapserver/compare/8c337d0b50a2...04755090c48d
More information about the mapserver-commits
mailing list