-
Notifications
You must be signed in to change notification settings - Fork 25
/
setup.py
executable file
·46 lines (38 loc) · 1.19 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
from setuptools import setup
import version
# TESTS_REQUIRES = [
# str(r.req)
# for r in parse_requirements("requirements/dev.txt", session=PipSession())
# ]
def readme():
with open("README.md", "r") as f:
return f.read()
setup(
name="drf_orjson_renderer",
version=version.__version__,
description="Django RestFramework JSON Renderer Backed by orjson",
long_description_content_type="text/markdown",
long_description=readme(),
author="brianjbuck",
author_email="[email protected]",
url="https://github.com/brianjbuck/drf_orjson_renderer",
packages=["drf_orjson_renderer"],
license="MIT",
install_requires=[
"django>=3.2",
"djangorestframework",
"orjson>=3.3.0",
],
python_requires=">=3.6.0",
zip_safe=True,
keywords=["drf_orjson_renderer", "rest_framework", "orjson"],
classifiers=[
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
],
)