Skip to content

pyproject fixed

pyproject fixed #352

Workflow file for this run

name: Install pkg
# see: https://help.github.com/en/actions/reference/events-that-trigger-workflows
on: # Trigger the workflow on push or pull request, but only for the main branch
push: {}
pull_request:
branches: [main]
jobs:
pkg-check:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.9
- name: Check package
run: |
pip install check-manifest
check-manifest
python setup.py check --metadata --strict
- name: Create package
run: |
pip install --upgrade setuptools wheel
python setup.py sdist bdist_wheel
- name: Verify package
run: |
pip install -r tests/requirements.txt
twine check dist/*
python setup.py clean
- name: Dry run
run: |
python setup.py install --dry-run --user