Transition from setup.py to setup.cfg

This commit is contained in:
Shane McDonald
2022-06-27 09:22:25 -04:00
parent 63ea6bb5b3
commit cbea36745e
13 changed files with 104 additions and 216 deletions

View File

@@ -5,7 +5,7 @@
tasks:
- name: Get version from SCM if not explicitly provided
shell: |
python setup.py --version | cut -d + -f -1
python3 -m setuptools_scm | cut -d + -f -1
args:
chdir: '../../'
register: setup_py_version

View File

@@ -43,7 +43,7 @@ RUN dnf -y update && dnf install -y 'dnf-command(config-manager)' && \
xmlsec1-devel \
xmlsec1-openssl-devel
RUN pip3 install virtualenv
RUN pip3 install virtualenv setuptools_scm build
# Install & build requirements