Skip to content

Commit

Permalink
pypi improvements
Browse files Browse the repository at this point in the history
- add long_description (README.rst)
- add 'tox -e install' as a reminder of how to 'twine upload'.
  • Loading branch information
n2ygk authored and Asif Saif Uddin committed Mar 7, 2020
1 parent 38ac517 commit eb381c3
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
2 changes: 2 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
name = django-oauth-toolkit
version = 1.3.0
description = OAuth2 Provider for Django
long_description = file: README.rst
long_description_content_type = text/x-rst
author = Federico Frenguelli, Massimiliano Pippi
author_email = synasius@gmail.com
url = https://github.com/jazzband/django-oauth-toolkit
Expand Down
13 changes: 13 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,19 @@ deps =
flake8-isort
flake8-quotes

[testenv:install]
deps =
twine
setuptools>=39.0
wheel
whitelist_externals=
rm
commands =
rm -rf dist
python setup.py sdist bdist_wheel
twine upload dist/*


[coverage:run]
source = oauth2_provider
omit = */migrations/*
Expand Down

0 comments on commit eb381c3

Please sign in to comment.