Skip to content

Commit 78f4d85

Browse files
authored
Merge pull request #45 from edavalosanaya/master
PyPI 2nd Attempt. Closes #43
2 parents 4f50fc5 + e8fab32 commit 78f4d85

File tree

2 files changed

+6
-9
lines changed

2 files changed

+6
-9
lines changed

.github/workflows/python-publish.yml

+3-6
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,12 @@ jobs:
1818

1919
steps:
2020
- name: Checkout source
21-
- uses: actions/checkout@v3
21+
uses: actions/checkout@v3
2222

2323
- name: Set up Python
2424
uses: actions/setup-python@v3
2525
with:
2626
python-version: '3.x'
27-
- name: Install dependencies
28-
run: |
29-
python -m pip install --upgrade pip
30-
pip install build
3127

3228
- name: Build source and wheel distributions
3329
run: |
@@ -38,11 +34,12 @@ jobs:
3834
twine check --strict dist/*
3935
4036
- name: Publish distribution to PyPI
41-
uses: pypa/gh-action-pypi-publish@master
37+
uses: pypa/gh-action-pypi-publish@release/v1
4238
with:
4339
user: __token__
4440
password: ${{ secrets.PYPI_API_TOKEN }}
4541

42+
# https://github.com/actions/first-interaction/issues/10#issuecomment-1475121828
4643
- name: Create GitHub Release
4744
id: create_release
4845
uses: actions/create-release@v1

pyproject.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
[project]
22
name = "motrackers"
3-
version = "v0.0.1"
3+
version = "0.0.1"
44
description = "Multi-object trackers in Python"
55
authors = [
6-
{name = "Aditya M. Deshpande", email = "[email protected]"},
6+
{name = "Aditya M. Deshpande", email = "[email protected]"}
77
]
88
license = {file = "LICENSE.txt"}
9-
readme = "[README.md](http://readme.md/)"
9+
readme = "README.md"
1010
requires-python = ">3.6"
1111

1212
keywords = ["tracking", "object", "multi-object", "python"]

0 commit comments

Comments
 (0)