Skip to content

Commit 66ad622

Browse files
committed
Deb packaging: Override default python with 3.7 on Ubuntu 18
1 parent 1389c05 commit 66ad622

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

cpydist/data/deb/rules

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,11 @@ ifneq ($(shell which py3versions 2>/dev/null),)
7474
PYTHON3_SUPPORTED=$(shell py3versions -sv)
7575
endif
7676

77+
# On Ubuntu 18 we want to use Python 3.7 instead of the default 3.6
78+
ifeq ($(shell lsb_release --short --codename),bionic)
79+
PYTHON3_SUPPORTED=3.7
80+
endif
81+
7782
ifneq ($(BYTE_CODE_ONLY),)
7883
BYTE_CODE_ONLY_OPT = --byte-code-only
7984
else

0 commit comments

Comments
 (0)