Skip to content

Commit

Permalink
Release source distribution on PyPI (#891)
Browse files Browse the repository at this point in the history
* Release source distribution on PyPI

* Upload sdist in twine upload command

* store_artifacts for sdist in wheels step
  • Loading branch information
sumanthratna authored Jan 26, 2021
1 parent e9d30d2 commit 8e287e5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,8 @@ jobs:
command: ./build_wheels.sh
- store_artifacts:
path: wheels
- store_artifacts:
path: dist
- run:
name: List built wheels
command: |
Expand Down Expand Up @@ -221,7 +223,7 @@ jobs:
command: ./build_wheels.sh
- run:
name: Release to PyPi
command: twine upload --verbose wheels/*
command: twine upload --verbose wheels/* dist/*
docs-deploy:
working_directory: ~/project
docker:
Expand Down
3 changes: 3 additions & 0 deletions build_wheels.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,6 @@ docker create --name wheels dsarchive/histomicstk_wheels
docker cp wheels:/io/wheels .
docker rm wheels

python -m pip install scikit-build
python setup.py sdist

0 comments on commit 8e287e5

Please sign in to comment.