Skip to content

Commit f24e7ef

Browse files
committed
CI: Install nipreps-versions for version calculation, use python -m build
1 parent efecae8 commit f24e7ef

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.circleci/config.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
pip install -U pip
2727
pip install -r /tmp/src/templateflow/requirements.txt
2828
pip install "datalad ~= 0.11.8"
29-
pip install "setuptools>=45" "setuptools_scm >= 6.2" twine codecov
29+
pip install "setuptools>=45" "setuptools_scm >= 6.2" nipreps-versions build twine codecov
3030
3131
- run:
3232
name: Install git and git-annex
@@ -120,7 +120,7 @@ jobs:
120120
command: |
121121
source /tmp/venv/bin/activate
122122
cd /tmp/src/templateflow
123-
python setup.py sdist
123+
python -m build
124124
twine check dist/*
125125
126126
build_docs:
@@ -194,8 +194,8 @@ jobs:
194194
name: Deploy to PyPi
195195
command: |
196196
source /tmp/venv/bin/activate
197-
pip install "setuptools>=45" "setuptools_scm >= 6.2" wheel twine
198-
python setup.py sdist bdist_wheel
197+
pip install build twine
198+
python -m build
199199
twine check dist/*
200200
twine upload dist/*
201201

0 commit comments

Comments
 (0)