forked from eshaan7/django-rest-durin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
81 lines (75 loc) · 2.74 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
"""
# django-rest-durin
Per API client token authentication Module for django rest framework.
## Docs & Example Usage: https://github.com/eshaan7/django-rest-durin
"""
import os
from setuptools import find_packages, setup
# Get the long description from the relevant file
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, "README.md"), encoding="utf-8") as f:
long_description = f.read()
GITHUB_URL = "https://github.com/eshaan7/django-rest-durin"
setup(
name="django-rest-durin",
url=GITHUB_URL,
version="1.1.0",
license="MIT",
description="""
Per API client token authentication Module for django rest framework.
""",
long_description=long_description,
long_description_content_type="text/markdown",
author="Eshaan Bansal",
author_email="[email protected]",
classifiers=[
# How mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
"Development Status :: 5 - Production/Stable",
# Indicate who your project is intended for
"Intended Audience :: Developers",
"Topic :: Internet :: WWW/HTTP :: Session",
"Environment :: Web Environment",
# Pick your license as you wish (should match "license" above)
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Topic :: Software Development :: Libraries :: Python Modules",
],
keywords="django rest authentication login token client auth",
packages=find_packages(exclude=[".github", "docs", "tests", "example_project"]),
install_requires=["django>=2.2", "djangorestframework>=3.7.0", "humanize"],
project_urls={
"Documentation": "https://django-rest-durin.readthedocs.io/",
"Funding": "https://www.paypal.me/eshaanbansal",
"Source": GITHUB_URL,
"Tracker": "{}/issues".format(GITHUB_URL),
},
# List additional groups of dependencies here (e.g. development
# dependencies). You can install these using the following syntax,
# for example:
# $ pip install -e .[dev,test]
extras_require={
"dev": [
"black==20.8b1",
"flake8",
"django-nose",
"django-cache-memoize",
"isort",
],
"test": [
"black==20.8b1",
"flake8",
"django-nose",
"django-cache-memoize",
"isort",
],
},
)