-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
51 lines (44 loc) · 1.51 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
47
48
49
50
51
import os
import re
from setuptools import find_packages, setup
ROOT = os.path.dirname(__file__)
VERSION_RE = re.compile(r"""__version__ = ['"]([0-9.]+)['"]""")
requires = [
"aws-encryption-sdk>=2.0.0",
"boto3>=1.16.63",
"cryptography>=3.3.1",
"dynamodb-encryption-sdk>=2.0.0",
"SQLAlchemy>=1.3.23",
"pymongo>=3.11.3",
]
def get_version():
"""Reads the version from this module."""
init = open(os.path.join(ROOT, "cryptoshredding", "__init__.py")).read()
return VERSION_RE.search(init).group(1)
setup(
name="cryptoshredding",
version=get_version(),
description="Crypto shredding for Python",
long_description=open("README.rst").read(),
keywords="cryptoshredding gdpr aws kms client-side-encryption dynamodb s3 kinesis",
author="hupe1980",
url="https://github.com/hupe1980/cryptoshredding",
packages=find_packages(exclude=["tests*"]),
install_requires=requires,
data_files=["README.rst", "LICENSE"],
license="MIT",
python_requires=">= 3.6",
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Natural Language :: English",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Topic :: Security",
"Topic :: Security :: Cryptography",
],
)