Skip to content

Commit

Permalink
Fix publish.
Browse files Browse the repository at this point in the history
  • Loading branch information
sobomax committed Apr 22, 2024
1 parent b5eb73a commit 86b6ac8
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 4 deletions.
20 changes: 18 additions & 2 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,5 +105,21 @@ jobs:
permissions:
id-token: write
steps:
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
- uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.12'

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel
pip install -r python/requirements.txt
- name: build
run: python setup.py build sdist

- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@
'python_requires': '>=3.10',
'install_requires': requirements,
'classifiers': [
'License :: OSI Approved :: BSD License',
'Operating System :: POSIX',
'License :: Public Domain',
'Operating System :: OS Independent',
'Programming Language :: C',
'Programming Language :: Python'
]
Expand Down

0 comments on commit 86b6ac8

Please sign in to comment.