Commit 12b97014 authored by Johan Bloemberg's avatar Johan Bloemberg

Python2.7 compatible setup.py and use python3 by default.

parent 65c91685
......@@ -98,11 +98,11 @@ build:
before_script:
# required for quering python package version
- apk add --no-cache py-setuptools
- apk add --no-cache python3
script:
# store current version as artifact to copy into docker container
- python setup.py --version > version
- python3 setup.py --version > version
# build docker image and push to registry
- docker login -u gitlab-ci-token -p $CI_BUILD_TOKEN registry.gitlab.com
......
from __future__ import print_function
import os
import sys
from subprocess import check_output
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment