From eb381c30affa60a0465a8a2f2c5ca0890ece5362 Mon Sep 17 00:00:00 2001 From: Alan Crosswell Date: Fri, 6 Mar 2020 10:49:05 -0500 Subject: [PATCH] pypi improvements - add long_description (README.rst) - add 'tox -e install' as a reminder of how to 'twine upload'. --- setup.cfg | 2 ++ tox.ini | 13 +++++++++++++ 2 files changed, 15 insertions(+) diff --git a/setup.cfg b/setup.cfg index d9d724c43..71a69a99d 100644 --- a/setup.cfg +++ b/setup.cfg @@ -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 diff --git a/tox.ini b/tox.ini index 7fce944af..210106f57 100644 --- a/tox.ini +++ b/tox.ini @@ -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/*