Skip to content

Commit

Permalink
Include binaries and upload to testpypi (#294)
Browse files Browse the repository at this point in the history
* Include binaries and upload to testpypi

* Add trailing slash

* Change to btrack link

* Back to legacy URL

* Fix pypi version

* Move testpypi step to deploy

* Change to `graft` syntax
  • Loading branch information
paddyroddy authored Apr 4, 2023
1 parent f28381f commit c1eb46e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,12 @@ jobs:
- name: Build distributions
run: python -m build

- name: Publish package to TestPyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.TESTPYPI_SECRET }}
repository-url: https://test.pypi.org/legacy/

- name: Publish package to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
Expand Down
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
graft btrack/libs
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ dynamic.dependencies.file = "requirements.txt"
packages.find = {}

[tool.setuptools_scm]
local_scheme = "no-local-version"
write_to = "btrack/_version.py"

[tool.tomlsort]
Expand Down

0 comments on commit c1eb46e

Please sign in to comment.