Skip to content

Commit

Permalink
Fix CI for publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
Bladrak committed Apr 26, 2018
1 parent bc72fe2 commit bb218f4
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
14 changes: 9 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,16 @@ jobs:
- image: bladrak/thumbor-dev:latest
steps:
- checkout
- run:
name: init .pypirc
command: |
- run: |
echo -e "[distutils]" >> ~/.pypirc
echo -e "index-servers =" >> ~/.pypirc
echo -e " pypi" >> ~/.pypirc
echo -e "" >> ~/.pypirc
echo -e "[pypi]" >> ~/.pypirc
echo -e "username = $PYPI_USERNAME" >> ~/.pypirc
echo -e "password = $PYPI_PASSWORD" >> ~/.pypirc
echo -e "username:$PYPI_USERNAME" >> ~/.pypirc
echo -e "password:$PYPI_PASSWORD" >> ~/.pypirc
- run: cat ~/.pypirc
- run: make install
- run: make publish

Expand Down
1 change: 0 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,3 @@ test: setup
publish:
python setup.py register -r pypi
python setup.py sdist upload -r pypi
python setup.py bdist_wheel upload -r pypi
1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ def readme():
"Operating System :: OS Independent",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Internet",
"Topic :: Image Processing",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
],
Expand Down

0 comments on commit bb218f4

Please sign in to comment.