forked from Coderrs/kerb-sts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
61 lines (51 loc) · 1.54 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
"""
The setup module for the CommerceHub implementation of Kerberos=>AWSRole Simple
Token Service authentication.
"""
# Always prefer setuptools over distutils
from setuptools import setup, find_packages
# To use a consistent encoding
from codecs import open
from os import path, environ
import subprocess
try:
version = subprocess.check_output(['git', 'describe', '--tags']).decode('utf-8').rstrip()
except:
version = '0.0.0'
here = path.abspath(path.dirname(__file__))
# Get the long description from the README file
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='kerb-sts',
version=version,
description='Renew AWS Simple Token Service Credentials',
long_description_content_type='text/markdown',
long_description=long_description,
url='https://github.com/commercehub-oss/kerb-sts.git',
author='CommerceHub',
packages=find_packages(),
classifiers=[
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
],
install_requires=[
'beautifulsoup4>=4.4.1',
'boto>=2.43.0',
'boto3>=1.4.2',
'botocore>=1.4.80',
'configparser==3.5.0',
'ntlm-auth==1.0.2',
'requests>=2.12.3',
'requests-kerberos>=0.11.0',
'requests-ntlm>=0.3.0',
'six>=1.10.0',
'pexpect>=4.0.0'
],
entry_points={
'console_scripts': [
'kerb-sts=kerb_sts.__main__:main'
]
}
)