-
Notifications
You must be signed in to change notification settings - Fork 5
/
setup.py
50 lines (43 loc) · 1.34 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
#!/usr/bin/env python
import sys
from setuptools import setup
if sys.argv[-1] == "publish":
print(
"""
1. bumpversion minor (or patch, major)
2. python setup.py sdist bdist_wheel
3. twine upload dist/*
"""
)
sys.exit()
def get_long_description():
"""
Return the README.
"""
return open("README.md", "r", encoding="utf8").read()
setup(
name="webstack-django-jwt-auth",
version="1.4.0",
url="https://github.com/webstack/django-jwt-auth",
license="MIT",
description="JSON Web Token based authentication for Django",
long_description=get_long_description(),
long_description_content_type="text/markdown",
# Original author is "Jose Padilla <[email protected]>"
author="Stéphane Raimbault",
author_email="[email protected]",
packages=["jwt_auth"],
test_suite="runtests.run_tests",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Environment :: Web Environment",
"Framework :: Django",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Topic :: Internet :: WWW/HTTP",
],
install_requires=["Django>=3.0", "PyJWT>=2.0.0"],
)