Skip to content
Snippets Groups Projects
Commit 1411f5bd authored by Sebastien Jodogne's avatar Sebastien Jodogne
Browse files

switching to Python 3.x

parent 842cf275
No related branches found
No related tags found
No related merge requests found
......@@ -7,7 +7,8 @@ Build-Depends: cmake,
debhelper (>= 10),
libboost-all-dev,
libjsoncpp-dev,
libpython2.7-dev,
libpython3-dev,
python3-dev,
pkg-config,
unzip
Standards-Version: 4.5.0.1
......
......@@ -3,6 +3,7 @@
include /usr/share/dpkg/pkg-info.mk # To access the "DEB_VERSION" variable
export UPSTREAM_VERSION := $(shell echo "$(DEB_VERSION)" | cut -d '+' -f 1)
export PYTHON_VERSION := $(shell pkg-config python3 --modversion)
export TARGET := libOrthancPython.so
export DEB_BUILD_MAINT_OPTIONS := hardening=+all
......@@ -19,7 +20,7 @@ CMAKE_EXTRA_FLAGS += \
-DCMAKE_SKIP_RPATH:BOOL=ON \
-DSTATIC_BUILD:BOOL=OFF \
-DDEB_VERSION=$(DEB_VERSION) \
-DPYTHON_VERSION=2.7 \
-DPYTHON_VERSION=$(PYTHON_VERSION) \
-DCMAKE_BUILD_TYPE=None # The build type must be set to None, see #711515
override_dh_auto_configure:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment