aboutsummaryrefslogtreecommitdiffstats
path: root/m4/python.m4 (unfollow)
Commit message (Collapse)AuthorFilesLines
2020-01-23m4/python: Scan for python 3.8 as welldkg/fix-4821Daniel Kahn Gillmor1-1/+1
* m4/python.m4: Scan for python 3.8 as well. -- It's not clear to me why python3.8 should be commented out of the python path search. This change simplifies and normalizes the search for modern versions of python 3. Signed-Off-By: Daniel Kahn Gillmor <[email protected]>
2018-11-08spelling: fix misspellingsDaniel Kahn Gillmor1-1/+1
Signed-off-by: Daniel Kahn Gillmor <[email protected]>
2018-10-17python: Auto-check for all installed python versions.Werner Koch1-3/+6
* m4/python.m4 (AM_PATH_PYTHON): Add a 4th arg. * configure.ac (available_languages): Remove separate python2 and python3 and keep just python. Simplify test for pythons. Use an explicit list of python versions to test. -- This seems to be a starightforward chnage to support more than two python versions. I am not sure why we had that complicated thing before. On my box I get builds and run tests for 2.7, 3.4 and 3.5. If 3.6, 3.7 or 3.8 are installed they should also work. GnuPG-bug-id: 3354 Signed-off-by: Werner Koch <[email protected]>
2018-10-02python bindings: CPython orderBen McGinnes1-2/+2
* Changed the order of python versions the configure/make process checks for, placing Python 3.7 ahead of 3.6. * Updated the HOWTO documentation to reflect this change. Tested-by: Ben McGinnes <[email protected]> Signed-off-by: Ben McGinnes <[email protected]>
2018-06-29m4 update: python 3.7Ben McGinnes1-7/+4
* Fixed an error in arcane m4 syntax.
2018-06-29python bindings: python 3.7Ben McGinnes1-2/+6
* Bindings confirmed to work with the newly released 3.7.0. * Updated M4 file to reflect this change and correct the Python binary search order (3.7 is not yet given priority, but will still be found first via the more generic python3 executable). * Updated setup.py.in, bindings documentation and README to reflect this.
2017-03-22python: Improve Python detection.Justus Winter1-2/+4
* m4/python.m4 (_AM_PYTHON_INTERPRETER_LIST): Prefer the generic 'pythonX' over 'pythonX.Y'. This way we select the users preferred version for both flavors. Prefer 'python' over 'python3' but not over 'python2' so that the algorithm still finds a 'python2' even if 'python' is a Python3. Fixes-commit: 5189c08af9468cdeb6f16a6ecd0fee53e1e3aa0e Signed-off-by: Justus Winter <[email protected]>
2017-03-14build: Tune M4 macros for our needs.Justus Winter1-2/+2
* m4/ax_python_devel.m4: Do not emit 'HAVE_PYTHON'. * m4/python.m4 (_AM_PYTHON_INTERPRETER_LIST): Add newer Python versions, drop older ones. Also, sort the list with older versions at the front, newer and generic versions towards the end. This makes the algorithm pick the lowest version that meets the version requirement. Signed-off-by: Justus Winter <[email protected]>
2017-03-14build: Add M4 macros for python.Justus Winter1-0/+239
* m4/python.m4: New file. Signed-off-by: Justus Winter <[email protected]>