Skip to content

Commit 1e5344e

Browse files
committed
CI: Build Python 3 wheels only
1 parent 421600b commit 1e5344e

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.circleci/config.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -316,14 +316,15 @@ jobs:
316316
- run:
317317
name: Check pypi preconditions
318318
command: |
319+
pyenv local 3.5.2
319320
pip install --upgrade twine future wheel readme_renderer setuptools
320321
python setup.py check -r -s
321322
python setup.py sdist bdist_wheel
322323
- run:
323324
name: Validate Python 3 installation
324325
command: |
325326
pyenv local 3.5.2
326-
pip install dist/nipype-*-py2.py3-none-any.whl
327+
pip install dist/nipype-*-py3-none-any.whl
327328
# Futures should not install in Python 3
328329
test $(pip show futures 2>/dev/null | wc -l) = "0"
329330
- store_artifacts:
@@ -338,6 +339,7 @@ jobs:
338339
- run:
339340
name: Deploy to PyPI
340341
command: |
342+
pyenv local 3.5.2
341343
pip install --upgrade twine future wheel readme_renderer setuptools
342344
python setup.py check -r -s
343345
python setup.py sdist bdist_wheel
@@ -382,7 +384,7 @@ workflows:
382384
- pypi_precheck:
383385
filters:
384386
branches:
385-
only: /rel\/.*/
387+
only: /(rel|dev)\/.*/
386388
tags:
387389
only: /.*/
388390
- compare_base_dockerfiles:

setup.cfg

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
[bdist_wheel]
2-
universal=1
2+
python-tag=py3

0 commit comments

Comments
 (0)