forked from fugue/credstash
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
86 lines (71 loc) · 2.25 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
import codecs
from os.path import dirname, join
from setuptools import setup, find_packages
here = dirname(__file__)
def read(*parts):
return codecs.open(join(here, *parts), 'r').read()
def find_version(*file_paths):
version = read(*file_paths).strip()
if version == '':
raise RuntimeError('No version found')
return version
setup(
name='credsmash',
version=find_version('credsmash', 'VERSION'),
maintainer="Nathan Muir",
maintainer_email="[email protected]",
url='https://github.com/3stack-software/credsmash',
license='Apache2',
description='A utility for managing secrets in the cloud using AWS KMS and DynamoDB',
long_description=read('README.md'),
long_description_content_type='text/markdown',
packages=find_packages(exclude=('tests',)),
package_data={
'credsmash': ['VERSION']
},
python_requires=">=3.8",
install_requires=[
'cryptography',
'boto3',
'click',
'six',
'importlib_resources>=5.12',
'importlib_metadata>=6.5'
],
tests_require=[
'pytest',
],
extras_require={
'yaml': ['PyYAML'],
'templates': ['jinja2'],
'documentation': [],
'dev': ['PyYAML', 'jinja2', 'pytest']
},
entry_points={
'console_scripts': [
'credsmash = credsmash.cli:main'
],
'credsmash.key_service': [
'kms = credsmash.kms_key_service:KmsKeyService',
],
'credsmash.storage_service': [
'dynamodb = credsmash.dynamodb_storage_service:DynamoDbStorageService',
],
'credsmash.cli': [
'templates = credsmash.templates',
'dynamodb = credsmash.cli_dynamodb'
]
},
classifiers=[
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
],
)