Private
Public Access
2
0

python2: remove ability to build python2 bindings from project

This removes Python 2 package generation from the project to encourage safer development with Python 3 instead. Documentation for the generated modules switched to Python 3. Default interpreter is now Python 3 but can be overridden if needed for running the tests only on older environments.

Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
This commit is contained in:
Mihai Tudor Panu
2020-09-24 19:03:27 -07:00
committed by Propanu
parent 36696db591
commit 1a66c6dc6a
14 changed files with 22 additions and 93 deletions

View File

@@ -112,17 +112,12 @@ services:
- FTDI4222=ON
command: bash -c "./scripts/run-cmake.sh && make -Cbuild"
python2:
python3:
extends: base
image: inteliotdevkit/mraa-python
environment:
- BUILDSWIG=ON
- BUILDSWIGPYTHON=ON
command: bash -c "./scripts/run-cmake.sh && cd build && make _python2-mraa test_unit_all && ctest --output-on-failure"
python3:
extends: python2
environment:
- USEPYTHON3TESTS=ON
command: bash -c "./scripts/run-cmake.sh && cd build && make _python3-mraa test_unit_all && ctest --output-on-failure"