Skip to content

Commit 7b618dd

Browse files
QuakeStringclaude
andcommitted
Rename package to python-snap7-optimized for PyPI publishing
Avoids conflict with the upstream python-snap7 package name. Updates pyproject.toml, publish workflows, and homepage URL. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 80041d6 commit 7b618dd

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

.github/workflows/publish-pypi.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
runs-on: ubuntu-latest
3434
environment:
3535
name: pypi
36-
url: https://pypi.org/p/python-snap7
36+
url: https://pypi.org/p/python-snap7-optimized
3737
permissions:
3838
id-token: write
3939
steps:
@@ -67,5 +67,5 @@ jobs:
6767
- name: Install and test python-snap7
6868
run: |
6969
uv venv
70-
uv pip install python-snap7[test]
70+
uv pip install python-snap7-optimized[test]
7171
uv run python -c "import snap7; print('snap7 imported successfully')"

.github/workflows/publish-test-pypi.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
runs-on: ubuntu-latest
3333
environment:
3434
name: testpypi
35-
url: https://test.pypi.org/p/python-snap7
35+
url: https://test.pypi.org/p/python-snap7-optimized
3636
permissions:
3737
id-token: write
3838
steps:
@@ -71,5 +71,5 @@ jobs:
7171
- name: Install and test python-snap7
7272
run: |
7373
uv venv
74-
uv pip install --index-strategy unsafe-best-match --extra-index-url https://test.pypi.org/simple/ python-snap7[test]
74+
uv pip install --index-strategy unsafe-best-match --extra-index-url https://test.pypi.org/simple/ python-snap7-optimized[test]
7575
uv run python -c "import snap7; print('snap7 imported successfully')"

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ requires = ["setuptools>=68.0.0", "wheel"]
33
build-backend = "setuptools.build_meta"
44

55
[project]
6-
name = "python-snap7"
6+
name = "python-snap7-optimized"
77
version = "3.0.0"
8-
description = "Pure Python S7 communication library for Siemens PLCs"
8+
description = "Pure Python S7 communication library for Siemens PLCs with read optimization pipeline"
99
readme = "README.rst"
1010
authors = [
1111
{name = "Gijs Molenaar", email = "gijsmolenaar@gmail.com"},
@@ -28,7 +28,7 @@ requires-python = ">=3.10"
2828
keywords = ["snap7", "s7", "siemens", "plc"]
2929

3030
[project.urls]
31-
Homepage = "https://github.com/gijzelaerr/python-snap7"
31+
Homepage = "https://github.com/QuakeString/python-snap7-optimized"
3232
Documentation = "https://python-snap7.readthedocs.io/en/latest/"
3333

3434
[project.optional-dependencies]

0 commit comments

Comments
 (0)