-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
29 lines (25 loc) · 1014 Bytes
/
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
#!/usr/bin/env python
"""Setup CloudWanderer package."""
import re
from os import path
from setuptools import find_packages, setup
this_directory = path.abspath(path.dirname(__file__))
with open(path.join(this_directory, "README.rst"), encoding="utf-8") as f:
long_description = re.sub(r"..\s*doctest\s*::", ".. code-block ::", f.read())
long_description = re.sub(r":class:`~[^`]+\.([^`]+)`", "\1", long_description)
setup(
version="0.8.0",
python_requires=">=3.6.0",
name="policyglass",
packages=find_packages(include=["policyglass", "policyglass.*"]),
description="Understand the effective permissions of your policies",
long_description=long_description,
long_description_content_type="text/x-rst",
author="Sam Martin",
author_email="[email protected]",
url="https://github.com/CloudWanderer-io/PolicyGlass",
install_requires=["pydantic", 'typing_extensions; python_version < "3.8.0"'],
package_data={
"": ["py.typed"],
},
)