Skip to content

Commit 5eff84f

Browse files
committed
chore(deployment): fix deployment script [5th iteration]
1 parent d612c00 commit 5eff84f

File tree

2 files changed

+1
-15
lines changed

2 files changed

+1
-15
lines changed

.circleci/config.yml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -144,20 +144,12 @@ jobs:
144144
steps:
145145
- checkout
146146
- run:
147-
name: Setup Python environment with virtualenvs
148-
command: |
149-
python -m pip install --user --upgrade virtualenv pip
150-
- run:
151-
name: Prepare build environment
147+
name: Prepare environment & build
152148
command: |
153149
python3 -m venv /tmp/buildenv
154150
source /tmp/buildenv/bin/activate
155151
python3 -m pip install "setuptools ~= 42.0" wheel "setuptools_scm[toml] >= 3.4" \
156152
"pip>=10.0.1" twine docutils
157-
- run:
158-
name: Build NiTransforms in build environment and check
159-
command: |
160-
source /tmp/buildenv/bin/activate
161153
python setup.py sdist bdist_wheel
162154
twine check dist/nitransforms*
163155
- store_artifacts:

setup.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,7 @@
11
"""Prepare package for distribution."""
2-
from pathlib import Path
32
from setuptools import setup
4-
from toml import loads
53

64
if __name__ == "__main__":
7-
scm_cfg = loads(
8-
(Path(__file__).parent / "pyproject.toml").read_text()
9-
)["tool"]["setuptools_scm"]
105
setup(
116
name="nitransforms",
12-
use_scm_version=scm_cfg,
137
)

0 commit comments

Comments
 (0)