From 910cfdd27ad8dcc12784751700b4d036fbdfb6e3 Mon Sep 17 00:00:00 2001 From: Michael Tryby Date: Thu, 25 Apr 2024 18:31:21 -0400 Subject: [PATCH] Fix build --- .github/workflows/build-wheel.yml | 4 ++-- build-requirements.txt | 2 -- pyproject.toml | 7 ++++++- 3 files changed, 8 insertions(+), 5 deletions(-) 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]