-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
48 lines (42 loc) · 1.21 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
"""
bwctl packaging setup script
"""
import os
from setuptools import setup
def read(filename):
"""Read file's content"""
try:
with open(os.path.join(os.path.dirname(__file__), filename)) as f:
return f.read()
except IOError as err:
print("I/O error while reading {0!r} ({1!s}): {2!s}".format(filename, err.errno, err.strerror))
return "0.0.1"
requires = [
'boto3==1.9.180',
'Click==7.0',
'click-repl==0.1.6',
'jinja2==2.10.1',
'pid==2.2.5',
'psutil==5.6.3',
'pyyaml==5.1',
'requests==2.21.0',
'sh==1.12.14'
]
setup(
name='bwctl',
version=read('bwctl/version.txt').strip(),
author='Bayware',
author_email='[email protected]',
description='Bayware Command Line Toolkit',
long_description=read('README.md'),
license="Apache License 2.0",
url='https://www.bayware.io',
platforms='Posix;',
install_requires=requires,
packages=['bwctl', 'bwctl.actions', 'bwctl.commands', 'bwctl.session', 'bwctl.utils', 'bwctl.templates'],
package_data={'bwctl': ['version_family.txt', 'version.txt'], 'bwctl.templates': ['*', '*/*']},
entry_points='''
[console_scripts]
bwctl=bwctl.bwctl:main
'''
)