Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
orthanc-python
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Debian Med
orthanc-python
Commits
1411f5bd
Commit
1411f5bd
authored
5 years ago
by
Sebastien Jodogne
Browse files
Options
Downloads
Patches
Plain Diff
switching to Python 3.x
parent
842cf275
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
debian/control
+2
-1
2 additions, 1 deletion
debian/control
debian/rules
+2
-1
2 additions, 1 deletion
debian/rules
with
4 additions
and
2 deletions
debian/control
+
2
−
1
View file @
1411f5bd
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
debian/rules
+
2
−
1
View file @
1411f5bd
...
...
@@ -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:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment