diff options
author | Shane McDonald <me@shanemcd.com> | 2022-06-27 15:22:25 +0200 |
---|---|---|
committer | Shane McDonald <me@shanemcd.com> | 2022-06-27 19:30:01 +0200 |
commit | cbea36745e0d4790b0b90b35fa16f7e7dcce3493 (patch) | |
tree | 7b2de75201390add9262fd8c02a832605317cafa /pyproject.toml | |
parent | Updated setup.py --version to python3 -m setuptools_scm. (diff) | |
download | awx-cbea36745e0d4790b0b90b35fa16f7e7dcce3493.tar.xz awx-cbea36745e0d4790b0b90b35fa16f7e7dcce3493.zip |
Transition from setup.py to setup.cfg
Diffstat (limited to 'pyproject.toml')
-rw-r--r-- | pyproject.toml | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/pyproject.toml b/pyproject.toml index 351a98ee3c..9670a1906a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,11 +1,13 @@ +[build-system] +requires = ["setuptools>=45", "setuptools_scm[toml]>=6.2"] +build-backend = "setuptools.build_meta" + +# Do not uncomment the line below. We need to be able to override the version via a file, and this +# causes the "version" key in setup.cfg to be ignored. +# [tool.setuptools_scm] + [tool.black] 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] |