Skip to content

Commit eb381c3

Browse files
n2ygkauvipy
authored andcommitted
pypi improvements
- add long_description (README.rst) - add 'tox -e install' as a reminder of how to 'twine upload'.
1 parent 38ac517 commit eb381c3

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

setup.cfg

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
name = django-oauth-toolkit
33
version = 1.3.0
44
description = OAuth2 Provider for Django
5+
long_description = file: README.rst
6+
long_description_content_type = text/x-rst
57
author = Federico Frenguelli, Massimiliano Pippi
68
author_email = [email protected]
79
url = https://github.com/jazzband/django-oauth-toolkit

tox.ini

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,19 @@ deps =
5252
flake8-isort
5353
flake8-quotes
5454

55+
[testenv:install]
56+
deps =
57+
twine
58+
setuptools>=39.0
59+
wheel
60+
whitelist_externals=
61+
rm
62+
commands =
63+
rm -rf dist
64+
python setup.py sdist bdist_wheel
65+
twine upload dist/*
66+
67+
5568
[coverage:run]
5669
source = oauth2_provider
5770
omit = */migrations/*

0 commit comments

Comments
 (0)