Skip to content

Commit 2a9ba68

Browse files
ilouzlcursoragent
andcommitted
Publish package as tap-python-sdk
Use tap-python-sdk as the PyPI distribution name while keeping the import package as tapsdk, and update release/install docs accordingly. Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 1532b3a commit 2a9ba68

3 files changed

Lines changed: 13 additions & 6 deletions

File tree

History.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ PyPI releases are published automatically when a version tag is pushed to GitHub
1515

1616
The `Publish to PyPI` workflow runs the same lint and test matrix as CI, verifies that the tag (without the `v` prefix) matches `tapsdk.__version__`, builds the package with `python -m build`, and uploads it to PyPI using Trusted Publishing.
1717

18-
Maintainers must configure PyPI Trusted Publishing for the `TapWithUs/tap-python-sdk` repository and create a GitHub `pypi` environment before the first automated release.
18+
Maintainers must configure PyPI Trusted Publishing for the `tap-python-sdk` project name, the `TapWithUs/tap-python-sdk` repository, and a GitHub `pypi` environment before the first automated release.
1919

2020
## 0.7.0 (2026-06-09)
2121
______________________

Readme.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,14 @@ This package supports the following platforms:
2222
```
2323
2424
25-
### Installation
26-
Clone this repo and install the package.
25+
### Installation
26+
27+
Install the package from PyPI:
28+
```console
29+
pip install tap-python-sdk
30+
```
31+
32+
Or clone this repo and install the package locally:
2733
```console
2834
git clone https://github.com/TapWithUs/tap-python-sdk
2935
cd tap-python-sdk

setup.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
from setuptools import find_packages, setup
88

99
# Package meta-data.
10-
NAME = "tapsdk"
10+
DISTRIBUTION_NAME = "tap-python-sdk"
11+
PACKAGE_NAME = "tapsdk"
1112
DESCRIPTION = "Tap strap python sdk"
1213
URL = "https://github.com/TapWithUs/tap-python-sdk"
1314
EMAIL = "support@tapwithus.com"
@@ -35,12 +36,12 @@
3536

3637
# Load the package's __version__.py module as a dictionary.
3738
about = {}
38-
with open(os.path.join(here, NAME, "__version__.py")) as f:
39+
with open(os.path.join(here, PACKAGE_NAME, "__version__.py")) as f:
3940
exec(f.read(), about)
4041

4142

4243
setup(
43-
name=NAME,
44+
name=DISTRIBUTION_NAME,
4445
version=about["__version__"],
4546
description=DESCRIPTION,
4647
long_description=long_description,

0 commit comments

Comments
 (0)