Skip to content

Commit c6b63b2

Browse files
committed
fix: path to wheel
1 parent 315aab9 commit c6b63b2

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.circleci/config.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,8 @@ jobs:
137137
no_output_timeout: 2h
138138
command: |
139139
mkdir -p /tmp/tests/{artifacts,summaries}
140-
docker run -u $( id -u ) -it --rm -w /src/nitransforms \
140+
docker run -u $( id -u ) -it --rm \
141+
-w /src/nitransforms -v $PWD:/src/nitransforms \
141142
-v /tmp/data/nitransforms-tests:/data -e TEST_DATA_HOME=/data \
142143
-e COVERAGE_FILE=/tmp/summaries/.pytest.coverage \
143144
-v /tmp/fslicense/license.txt:/opt/freesurfer/license.txt:ro \
@@ -176,7 +177,7 @@ jobs:
176177
command: |
177178
python3 -m venv /tmp/buildenv
178179
source /tmp/buildenv/bin/activate
179-
python3 -m pip install "setuptools >= 45.0" wheel "setuptools_scm[toml] >= 6.2" \
180+
python3 -m pip install "setuptools >= 45.0" build wheel "setuptools_scm[toml] >= 6.2" \
180181
"pip>=10.0.1" twine docutils
181182
python3 -m build
182183
twine check dist/nitransforms*

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ ENV MKL_NUM_THREADS=1 \
199199
# CRITICAL: Make sure python setup.py --version has been run at least once
200200
# outside the container, with access to the git history.
201201
COPY --from=src /src/dist/*.whl .
202-
RUN python -m pip install --no-cache-dir $( ls /src/dist/*.whl )[all]
202+
RUN python -m pip install --no-cache-dir $( ls *.whl )[all]
203203

204204

205205
RUN find $HOME -type d -exec chmod go=u {} + && \

0 commit comments

Comments
 (0)