Skip to content

Commit

Permalink
ci: verify before uploading, unpin setuptools
Browse files Browse the repository at this point in the history
- Verify the build before it goes out. Previously, we missed that the README.md wouldn't be picked up on case-sensitive OS such as the one we use to deploy.
- Unpin setuptools to not stick with the deprecated source distribution name.
  • Loading branch information
JoepVanlier committed Jan 10, 2025
1 parent 7c20802 commit 9823373
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/pylake_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,5 @@ jobs:
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
python -m build
python -m twine check --strict dist/*
python -m twine upload dist/* --verbose
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[build-system]
requires = ["setuptools<69.3", "wheel"]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"

[project]
Expand All @@ -10,7 +10,7 @@ authors = [
{name = "Lumicks B.V."},
{email = "[email protected]"},
]
readme = {file="README.md", content-type = "text/markdown"}
readme = {file="readme.md", content-type = "text/markdown"}
license = {file = "license.md"}
keywords = ["optical tweezers", "kymographs", "data analysis", "lumicks"]
classifiers=[
Expand Down

0 comments on commit 9823373

Please sign in to comment.