diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index 948216f..3c5bed0 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -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 diff --git a/setup.py b/setup.py index 407145a..2a75e80 100644 --- a/setup.py +++ b/setup.py @@ -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' ]