Skip to content

Commit

Permalink
For CD
Browse files Browse the repository at this point in the history
  • Loading branch information
KipCrossing committed Mar 20, 2020
1 parent f67dde1 commit 8b46af9
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,25 @@ jobs:
command: |
pip install -r requirements.txt
python3 ausbills/test.py
- run:
name: verify git tag vs. version
command: |
python3 -m venv venv
. venv/bin/activate
python setup.py verify
- run:
name: init .pypirc
command: |
echo -e "[pypi]" >> ~/.pypirc
echo -e "username = Kipling" >> ~/.pypirc
echo -e "password = $PYPI_PASSWORD" >> ~/.pypirc
- run:
name: create packages
command: |
python setup.py sdist
python setup.py bdist_wheel
- run:
name: upload to pypi
command: |
. venv/bin/activate
twine upload dist/*
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ beautifulsoup4
lxml
requests
datetime
twine

0 comments on commit 8b46af9

Please sign in to comment.