diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4baaef6e..4fcfdd3c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -22,6 +22,8 @@ jobs: pip3 install ".[dev]" pip3 install ".[docs]" pip3 install ".[test]" + - name: run flake8 ⚙️ + run: flake8 owslib/ - name: run tests ⚙️ run: pytest tests/ - name: run tests in offline mode @@ -42,7 +44,7 @@ jobs: COVERALLS_SERVICE_NAME: github COVERALLS_SERVICE_JOB_ID: "${{ github.run_id }}" COVERALLS_SERVICE_NUMBER: "${{ github.workflow }}-${{ github.run_number }}" + - name: test build + run: python -m build --wheel - name: build docs 🏗️ run: cd docs && make html - - name: run flake8 ⚙️ - run: flake8 owslib/ diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 4b2d503a..006b42f8 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -24,3 +24,6 @@ jobs: - name: run tests ⚙️ run: pytest tests/ + + - name: test build + run: python -m build --wheel diff --git a/pyproject.toml b/pyproject.toml index 05a50201..fe5b76ac 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["setuptools<69", "wheel"] +requires = ["setuptools>=77", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -8,7 +8,8 @@ version = "0.37.dev0" description = "OGC Web Service utility library" readme = "README.md" requires-python = ">=3.12" -license = {text = "BSD-3-Clause"} +license = "BSD-3-Clause" +license-files = ["LICENSE"] keywords = ["gis", "ogc", "ogcapi", "ows", "opensearch", "iso", "19115", "fgdc", "dif", "ows", "wfs", "wms", "sos", "csw", "wps", "wcs", "capabilities", "metadata", "wmts", "connectedsystems"] authors = [ {name = "Sean Gillies", email = "sean.gillies@gmail.com"},