diff --git a/.github/workflows/build-wheel.yml b/.github/workflows/build-wheel.yml index ae4ece6..12dc9cc 100644 --- a/.github/workflows/build-wheel.yml +++ b/.github/workflows/build-wheel.yml @@ -29,9 +29,9 @@ jobs: run: | python -m pip install --upgrade pip pip install -r build-requirements.txt - + - name: Build distribution run: python -m build - uses: actions/upload-artifact@v4 with: - path: swmm-parse/dist/swmm_parse*.* + path: ./dist/*.* diff --git a/build-requirements.txt b/build-requirements.txt index f78f325..b50fb4e 100644 --- a/build-requirements.txt +++ b/build-requirements.txt @@ -2,5 +2,3 @@ build -setuptools -wheel diff --git a/pyproject.toml b/pyproject.toml index e47e12a..af65733 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -26,10 +26,15 @@ dependencies = [ ] dynamic = ["version"] +[tool.setuptools] +include-package-data = true [tool.setuptools.packages.find] where = ["src/"] -include = ["swmm.parse"] +include = [ + "swmm.parse", + "swmm.parse.grammars", +] [tool.setuptools.package-data]