Skip to content

Commit 085b961

Browse files
bokelleyclaude
andcommitted
docs: update PyPI setup guide with correct secret name and current status
- Change all references from PYPI_API_TOKEN to PYPY_API_TOKEN - Update Current Status section to reflect successful publication - Document that package is now live at https://pypi.org/project/adcp/ - Note that project-scoped token is now configured 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 3e8ae9f commit 085b961

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

PYPI_SETUP.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ If you don't have a PyPI account:
3131
2. Navigate to **Settings → Secrets and variables → Actions**
3232
3. Click **"New repository secret"**
3333
4. Configure:
34-
- **Name**: `PYPI_API_TOKEN`
34+
- **Name**: `PYPY_API_TOKEN`
3535
- **Secret**: Paste your `pypi-...` token
3636
5. Click **"Add secret"**
3737

@@ -168,7 +168,7 @@ python -m twine upload dist/*
168168

169169
**Solution**:
170170
1. Generate new token on PyPI
171-
2. Update `PYPI_API_TOKEN` secret in GitHub
171+
2. Update `PYPY_API_TOKEN` secret in GitHub
172172
3. Re-run the workflow
173173

174174
### Build fails
@@ -194,7 +194,7 @@ python -m twine check dist/*
194194

195195
**Solution**: First token must have "Entire account" scope. After first successful publish:
196196
1. Create new token with project scope limited to `adcp`
197-
2. Update `PYPI_API_TOKEN` in GitHub Secrets
197+
2. Update `PYPY_API_TOKEN` in GitHub Secrets
198198

199199
## Advanced Configuration
200200

@@ -204,13 +204,13 @@ Test publishing without affecting production:
204204

205205
1. Create TestPyPI account: https://test.pypi.org/
206206
2. Generate token on TestPyPI
207-
3. Add as `TEST_PYPI_API_TOKEN` secret
207+
3. Add as `TEST_PYPY_API_TOKEN` secret
208208
4. Add workflow step:
209209
```yaml
210210
- name: Publish to TestPyPI
211211
env:
212212
TWINE_USERNAME: __token__
213-
TWINE_PASSWORD: ${{ secrets.TEST_PYPI_API_TOKEN }}
213+
TWINE_PASSWORD: ${{ secrets.TEST_PYPY_API_TOKEN }}
214214
TWINE_REPOSITORY_URL: https://test.pypi.org/legacy/
215215
run: twine upload dist/*
216216
```
@@ -271,10 +271,10 @@ A: Use pre-release version in `pyproject.toml`: `0.1.0a1`, `0.1.0b2`, `0.1.0rc1`
271271

272272
## Current Status
273273

274-
- ✅ Package name `adcp` is available on PyPI
275-
- Package builds successfully (`twine check` passes)
276-
- ✅ GitHub Actions workflow configured
277-
- ⏳ Waiting for `PYPI_API_TOKEN` secret
278-
- ⏳ Waiting for first release
274+
- ✅ Package published to PyPI: https://pypi.org/project/adcp/
275+
- Latest version: 0.1.2
276+
- ✅ GitHub Actions workflow configured and working
277+
- ✅ `PYPY_API_TOKEN` secret configured with project-scoped token
278+
- ✅ Automated releases working via Release Please
279279

280-
**Next Step**: Add `PYPI_API_TOKEN` secret to GitHub, then merge to main!
280+
**Installation**: `pip install adcp`

0 commit comments

Comments
 (0)