diff --git a/.github/workflows/pypi-publish.yml b/.github/workflows/pypi-publish.yml index 7b2cf9bc..b8c038b3 100644 --- a/.github/workflows/pypi-publish.yml +++ b/.github/workflows/pypi-publish.yml @@ -97,8 +97,6 @@ jobs: source venv/bin/activate echo "Using version $PKG_VERSION_STRICT" sed -i -r -e "s/^__version__ += '.*'$/__version__ = '$PKG_VERSION_STRICT'/" xml2rfc/__init__.py - python -m build --config-setting=--build-option="setopt --command=metadata --option=version --set-value=$PKG_VERSION_STRICT" - rm -rf dist python -m build --sdist - name: Publish to Test PyPI diff --git a/setup.cfg b/setup.cfg index 8a672852..b9dd57c4 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = xml2rfc -version = 3.18.2 +version = attr: xml2rfc.__version__ description = xml2rfc generates RFCs and IETF drafts from document source in XML according to the IETF xml2rfc v2 and v3 vocabularies. long_description = file: README.md long_description_content_type = text/markdown