Skip to content

Commit f7b715c

Browse files
committed
Switch from setup.py to pyproject.toml
Fix build dependencies along the way. Add missing maintainers. Update versioneer to work with pyproject.toml.
1 parent a3681f0 commit f7b715c

9 files changed

Lines changed: 1025 additions & 488 deletions

File tree

.flake8

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[flake8]
2+
max-line-length = 120
3+
ignore = E221,E226,E241,E242,W0105,N803,N806
4+
exclude = __init__.py

.github/workflows/test.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,15 @@ jobs:
2626
- name: Install dependencies
2727
run: |
2828
python -m pip install --upgrade pip
29-
python -m pip install -r requirements.txt
30-
python -m pip install -e .
29+
python -m pip install -e ".[dev]"
3130
- name: Test with pytest
3231
run: |
3332
python -m pytest
3433
codecov
35-
- name: Test with pytest
34+
- name: Build and validate
3635
run: |
37-
python setup.py bdist_wheel
38-
python setup.py sdist -d ${SDIST_DIR}/ --format=gztar
36+
python -m build --wheel
37+
python -m build --sdist --outdir ${SDIST_DIR}/
3938
twine check ${SDIST_DIR}/*
4039
check-manifest -p python ${PWD}
4140
cd ${SDIST_DIR}

MANIFEST.in

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,5 @@ include *.md
33
include MANIFEST.in
44
recursive-include examples *.py
55
recursive-include tests *.py
6-
include versioneer.py
7-
include pyevtk/_version.py
86
exclude .pre-commit-config.yaml
97
prune .github

0 commit comments

Comments
 (0)