mirror of
https://github.com/ansible/awx.git
synced 2026-01-11 01:57:35 -03:30
Updated setup.py --version to python3 -m setuptools_scm.
This commit is contained in:
parent
35a5f93182
commit
63ea6bb5b3
4
Makefile
4
Makefile
@ -5,8 +5,8 @@ NPM_BIN ?= npm
|
||||
CHROMIUM_BIN=/tmp/chrome-linux/chrome
|
||||
GIT_BRANCH ?= $(shell git rev-parse --abbrev-ref HEAD)
|
||||
MANAGEMENT_COMMAND ?= awx-manage
|
||||
VERSION := $(shell $(PYTHON) setup.py --version)
|
||||
COLLECTION_VERSION := $(shell $(PYTHON) setup.py --version | cut -d . -f 1-3)
|
||||
VERSION := $(shell $(PYTHON) -m setuptools_scm)
|
||||
COLLECTION_VERSION := $(shell $(PYTHON) -m setuptools_scm | cut -d . -f 1-3)
|
||||
|
||||
# NOTE: This defaults the container image version to the branch that's active
|
||||
COMPOSE_TAG ?= $(GIT_BRANCH)
|
||||
|
||||
@ -3,3 +3,9 @@ line-length = 160
|
||||
fast = true
|
||||
skip-string-normalization = true
|
||||
exclude = "awx_collection"
|
||||
|
||||
[build-system]
|
||||
requires = ["setuptools>=45", "setuptools_scm[toml]>=6.2"]
|
||||
|
||||
|
||||
[tool.setuptools_scm]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user