diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index 8ba599c..3d38501 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -21,9 +21,6 @@ jobs: steps: - uses: actions/checkout@v4 - with: - fetch-depth: 0 - fetch-tags: true - uses: actions/setup-node@v4 with: @@ -49,7 +46,9 @@ jobs: run: | # NOTE: put your own distribution build steps here. python -m pip install build - python -m build + export SETUPTOOLS_SCM_PRETEND_VERSION=${GITHUB_REF} + export SETUPTOOLS_SCM_DEBUG=1 + python -m build --sdist --wheel ./ - name: Upload distributions uses: actions/upload-artifact@v4 diff --git a/pyproject.toml b/pyproject.toml index e3a69b6..ae6ed1e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,11 +7,6 @@ name = "simple-repository-browser" dynamic = ["version"] description = "A web interface to browse and search packages in any simple package repository (PEP-503), inspired by PyPI / warehouse" requires-python = ">=3.11" -classifiers = [ - "License :: OSI Approved :: MIT License", - "Operating System :: OS Independent", - "Programming Language :: Python :: 3", -] authors = [ {name = "Phil Elson"}, {name = "Francesco Iannaccone"},