Skip to content

Commit a84f03c

Browse files
authored
Merge pull request #693 from effigies/fix/pypi_release
FIX: PyPI release
2 parents 7f3459d + e36b75d commit a84f03c

File tree

2 files changed

+9
-12
lines changed

2 files changed

+9
-12
lines changed

circle.yml

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -71,24 +71,21 @@ jobs:
7171
- checkout
7272
- run: apk --no-cache add ca-certificates
7373
- run: apk --no-cache add git python build-base openssh
74+
- run:
75+
name: Install Python 3 and update setuptools
76+
command: |
77+
apk --no-cache add python3 python3-dev py3-cffi
78+
python3 -m pip install --upgrade pip setuptools wheel twine
79+
- run: git checkout -f $CIRCLE_TAG
80+
- run: python3 setup.py sdist bdist_wheel
7481
# Publish to NPM
7582
- run: npm install
7683
- run: ./node_modules/.bin/npm-cli-login -u $NPM_USERNAME -p $NPM_PASSWORD -e $NPM_EMAIL
77-
- run: git checkout -f $CIRCLE_TAG
7884
# Set the version number
7985
- run: sed -i -E "s/0.0.0/$CIRCLE_TAG/" package.json
8086
- run: ./node_modules/.bin/publish
8187
# Publish to PyPI
82-
- run:
83-
name: Install Python 3 and update setuptools
84-
command: |
85-
apk --no-cache add python3 python3-dev py3-cffi
86-
python3 -m pip install --upgrade pip setuptools wheel twine
87-
- run:
88-
name: Build and push to PyPI
89-
command: |
90-
python3 setup.py sdist bdist_wheel
91-
twine upload dist/*
88+
- run: twine upload dist/*
9289
# Update gh-pages demo site
9390
- run: git config --global user.email circleci@circleci
9491
- run: git config --global user.name CircleCI

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ maintainer = BIDS Developers
77
maintainer_email = [email protected]
88
description = Validator for the Brain Imaging Data Structure
99
long_description = file:README.md
10-
long_description_content_type="text/markdown"
10+
long_description_content_type = text/markdown
1111
license = MIT
1212
classifiers =
1313
Development Status :: 3 - Alpha

0 commit comments

Comments
 (0)