diff --git a/.github/workflows/python-build-test.yml b/.github/workflows/python-build-test.yml index dd97cba..483cce1 100644 --- a/.github/workflows/python-build-test.yml +++ b/.github/workflows/python-build-test.yml @@ -38,3 +38,7 @@ jobs: - name: Test run: | pytest -v python/tests + + - name: PyPI + run: | + pip uninstall -y sp-graph-layout && pip install sp-graph-layout diff --git a/.github/workflows/wasm-build-test.yml b/.github/workflows/wasm-build-test.yml index 01cab0d..f6ddcad 100644 --- a/.github/workflows/wasm-build-test.yml +++ b/.github/workflows/wasm-build-test.yml @@ -44,3 +44,7 @@ jobs: run: | cd wasm npm test + + - name: NPM + run: | + npm i sp-graph-layout diff --git a/pyproject.toml b/pyproject.toml index abf5114..cd34fbd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "scikit_build_core.build" [project] name = "sp-graph-layout" -version = "1.4.0" +version = "1.4.1" description = "A library for visualizing directed graphs." requires-python = ">=3.8" readme = "python/README.md" @@ -31,12 +31,20 @@ GRAPH_LAYOUT_BIND_PYTHON = "ON" [tool.scikit-build.sdist] exclude = [ - ".github", - ".gitignore", + ".*", + "build*", + "cmake-build*", + "dist", "demo", "docs", "tests", "wasm", + "web", + "*.md", + "python/tests", +] +include = [ + "python/README.md", ] [project.optional-dependencies]