forked from sunscrapers/djoser
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
46 lines (39 loc) · 1.28 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
#!/usr/bin/env python
import os
from setuptools import setup
with open("README.rst", "r") as f:
readme = f.read()
def get_packages(package):
return [
dirpath
for dirpath, dirnames, filenames in os.walk(package)
if os.path.exists(os.path.join(dirpath, "__init__.py"))
]
setup(
name="djoser",
version="2.0.3",
packages=get_packages("djoser"),
license="MIT",
author="SUNSCRAPERS",
description="REST version of Django authentication system.",
author_email="[email protected]",
long_description=readme,
install_requires=["django-templated-mail"],
setup_requires=["Babel>=2.6.0"],
include_package_data=True,
url="https://github.com/sunscrapers/djoser",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Framework :: Django",
"Framework :: Django :: 1.11",
"Framework :: Django :: 2.2",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
],
)