-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
56 lines (46 loc) · 1.86 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
#!/usr/bin/env python
import codecs
import re
from setuptools import setup
def get_version(filename):
with codecs.open(filename, 'r', 'utf-8') as fp:
contents = fp.read()
return re.search(r"__version__ = ['\"]([^'\"]+)['\"]", contents).group(1)
version = get_version('awscli_plugin_credential_mfa.py')
with codecs.open('README.rst', 'r', 'utf-8') as file_:
readme = file_.read()
with codecs.open('HISTORY.rst', 'r', 'utf-8') as file_:
history = file_.read()
with codecs.open('README.rst', 'r', 'utf-8') as file_:
readme = file_.read()
with codecs.open('requirements.txt', 'r', 'utf-8') as file_:
requirements = file_.read().splitlines()
setup(
name='awscli-plugin-credential-mfa',
py_modules=['awscli_plugin_credential_mfa'],
version=version,
description='awscli plugin enabling automatic usage of mfa token',
long_description=readme + '\n\n' + history,
author='Julius Seporaitis',
author_email='[email protected]',
url='https://github.com/seporaitis/awscli-plugin-credential-mfa/',
keywords=['awscli', 'plugin', 'credentials', 'mfa', 'security', 'totp', 'otp', 'aws'],
install_requires=requirements,
python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*',
zip_safe=False,
license='Apache License 2.0',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'Natural Language :: English',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
)