From 40b18721ad5243e1ccf1d43324137987a73c73d4 Mon Sep 17 00:00:00 2001 From: Andras Schmelczer Date: Thu, 12 Mar 2026 07:41:25 +0000 Subject: [PATCH] Fix python publishing --- .github/workflows/check.yml | 6 +++ examples/website/src/index.html | 85 +++++++++++++++++++++++++-------- reconcile-python/.gitignore | 1 + reconcile-python/pyproject.toml | 2 +- 4 files changed, 72 insertions(+), 22 deletions(-) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index f1c2a84..4bddad5 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -145,6 +145,9 @@ jobs: with: python-version: '3.x' + - name: Copy README + run: cp README.md reconcile-python/ + - uses: PyO3/maturin-action@v1 with: target: ${{ matrix.target }} @@ -165,6 +168,9 @@ jobs: steps: - uses: actions/checkout@v6 + - name: Copy README + run: cp README.md reconcile-python/ + - uses: PyO3/maturin-action@v1 with: command: sdist diff --git a/examples/website/src/index.html b/examples/website/src/index.html index 2bfe8a6..1e7ac57 100644 --- a/examples/website/src/index.html +++ b/examples/website/src/index.html @@ -195,28 +195,71 @@ diff --git a/reconcile-python/.gitignore b/reconcile-python/.gitignore index 772a74a..c93ab73 100644 --- a/reconcile-python/.gitignore +++ b/reconcile-python/.gitignore @@ -7,3 +7,4 @@ __pycache__/ *.dylib *.dSYM/ dist/ +README.md diff --git a/reconcile-python/pyproject.toml b/reconcile-python/pyproject.toml index 8e25a4b..b9f78f5 100644 --- a/reconcile-python/pyproject.toml +++ b/reconcile-python/pyproject.toml @@ -6,7 +6,7 @@ build-backend = "maturin" name = "reconcile-text" version = "0.9.2" description = "Intelligent 3-way text merging with automated conflict resolution" -readme = "../README.md" +readme = "README.md" license = { text = "MIT" } authors = [{ name = "Andras Schmelczer", email = "andras@schmelczer.dev" }] requires-python = ">=3.9"