Skip to content

Commit 2af52c1

Browse files
authored
Merge pull request #30 from ghisvail/mnt/flint-scm
MNT: Migrate project template to Flit
2 parents 94a7944 + 203c1bf commit 2af52c1

File tree

10 files changed

+67
-2579
lines changed

10 files changed

+67
-2579
lines changed

.gitattributes

Lines changed: 0 additions & 1 deletion
This file was deleted.

.github/workflows/pythonpackage.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,9 @@ jobs:
9191
with:
9292
python-version: ${{ matrix.python-version }}
9393
- name: Install build tools
94-
run: python -m pip install --upgrade pip setuptools wheel twine
94+
run: python -m pip install build twine
9595
- name: Build source and wheel distributions
96-
run: python setup.py sdist bdist_wheel
96+
run: python -m build
9797
- name: Check distributions
9898
run: twine check dist/*
9999
- uses: actions/upload-artifact@v2

MANIFEST.in

Lines changed: 0 additions & 2 deletions
This file was deleted.

codecov.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ coverage:
33
ignore: # files and folders that will be removed during processing
44
- "**/tests"
55
- "**/_version.py"
6-
- "setup.py"
7-
- "versioneer.py"
86
status:
97
project:
108
default:

pydra/tasks/TODO/__init__.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
>>> import pydra.engine
66
>>> import pydra.tasks.TODO
77
"""
8-
from ._version import get_versions
9-
10-
__version__ = get_versions()["version"]
11-
del get_versions
8+
try:
9+
from ._version import __version__
10+
except ImportError:
11+
pass

0 commit comments

Comments
 (0)