Skip to content

Commit

Permalink
Update circle to deploy to pypi test server
Browse files Browse the repository at this point in the history
  • Loading branch information
levi-rs committed Dec 6, 2016
1 parent b8bbabd commit 98b0354
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 3 deletions.
12 changes: 12 additions & 0 deletions .pypirc
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[distutils]
index-servers=
pypi
pypitest

[pypitest]
repository = https://testpypi.python.org/pypi
username = levinoeckertest

[pypi]
repository = https://pypi.python.org/pypi
username = levinoecker
2 changes: 1 addition & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
include versioneer.py
include dankbot/_version.py
include dankbot/sample.dankbot.ini
include dankbot/dankbot.sample.ini
6 changes: 5 additions & 1 deletion circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,9 @@ deployment:
tag: /[0-9]+(\.[0-9]+)*/
owner: DankCity
commands:
- git status
- git tag
- pip install twine
- echo "Mock deploy of tagged release"
- pip install wheel
- python setup.py sdist bdist_wheel
- twine upload --config-file ./.pypirc -r pypitest -p $PYPI_TEST_PW dist/*
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
with open(path.join(here, 'README.rst')) as f:
long_description = f.read()

install_requires=[
install_requires = [
'appdirs==1.4.0',
'configparser==3.5.0',
'imgurpython==1.1.7',
Expand Down

0 comments on commit 98b0354

Please sign in to comment.