forked from rsinger86/drf-access-policy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
41 lines (36 loc) · 1.3 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
#!/usr/bin/env python
from codecs import open
from setuptools import setup
def readme():
with open("README.md", "r") as infile:
return infile.read()
classifiers = [
# Pick your license as you wish (should match "license" above)
"License :: OSI Approved :: MIT License",
"Framework :: Django",
"Framework :: Django :: 2.0",
"Framework :: Django :: 3.0",
"Framework :: Django :: 3.1",
"Framework :: Django :: 3.2",
"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",
]
setup(
name="drf-access-policy",
version="1.2.0",
description="Declarative access policies/permissions modeled after AWS' IAM policies.",
author="Robert Singer",
author_email="robertgsinger@gmail.com",
packages=["rest_access_policy"],
package_data={"rest_access_policy": ["py.typed"]},
url="https://github.com/rsinger86/drf-access-policy",
license="MIT",
keywords="django restframework drf access policy authorization declaritive",
long_description=readme(),
classifiers=classifiers,
long_description_content_type="text/markdown",
install_requires=["pyparsing", "djangorestframework"],
)