From 3e062cc92c990cc24b1a089aca2e8a0abc2f8ead Mon Sep 17 00:00:00 2001 From: cyberzhg <853842+CyberZHG@users.noreply.github.com> Date: Wed, 28 Jan 2026 22:58:32 -0800 Subject: [PATCH] Update sdist --- .github/workflows/python-build-test.yml | 4 ++++ .github/workflows/wasm-build-test.yml | 4 ++++ pyproject.toml | 14 +++++++++++--- 3 files changed, 19 insertions(+), 3 deletions(-) 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]