Skip to content

Commit 7e2fafd

Browse files
committed
fix build and manifest
1 parent 93fc4a0 commit 7e2fafd

File tree

3 files changed

+9
-8
lines changed

3 files changed

+9
-8
lines changed

.github/workflows/check-build.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ jobs:
1313
python-version: '3.10'
1414
- name: Install dependencies
1515
run: |
16-
python -m pip install --upgrade pip
17-
python -m pip install -U setuptools wheel twine
18-
- name: Build and check
19-
run: |
20-
python setup.py sdist bdist_wheel
21-
twine check dist/*
16+
python -m pip install --upgrade pip
17+
python -m pip install -U build twine
18+
- name: Build and check source tarball
19+
run: python -m build
20+
- name: Twine check
21+
run: twine check dist/*

.github/workflows/publish-to-pypi.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ jobs:
2020
- name: Install dependencies
2121
run: |
2222
python -m pip install --upgrade pip
23-
python -m pip install -U setuptools setuptools_scm wheel twine
23+
python -m pip install -U build twine
2424
- name: Build and check source tarball
25-
run: python setup.py sdist bdist_wheel
25+
run: python -m build
2626
- name: Twine check
2727
run: twine check dist/*
2828
- name: Publish distribution to PyPI

MANIFEST.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ include *.yaml
66
include Makefile
77
include tox.ini
88
include .coveragerc
9+
include .flake8
910
recursive-include tests *
1011
recursive-exclude * __pycache__
1112
recursive-exclude * *.py[co]

0 commit comments

Comments
 (0)