forked from PostHog/drf-exceptions-hog
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
33 lines (27 loc) · 1.05 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
from importlib.machinery import SourceFileLoader
from setuptools import find_packages, setup
version = SourceFileLoader("version", "exceptions_hog/version.py").load_module()
with open("README.md", "r") as f:
long_description = f.read()
setup(
name="drf-exceptions-hog",
version=version.__version__,
author="PostHog",
author_email="[email protected]",
description="Standardized and easy-to-parse API error responses for DRF.",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/posthog/drf-exceptions-hog",
packages=find_packages(exclude=["tests"]),
include_package_data=True,
python_requires=">=3.6",
install_requires=["djangorestframework>=3.9.4"],
classifiers=[
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
)