-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
31 lines (26 loc) · 853 Bytes
/
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
"""
bwctl-resources 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_var:
return f_var.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"
setup(
name='bwctl_resources',
version=read('version.txt').strip(),
author='Bayware',
author_email='[email protected]',
description='Bayware Command Line Toolkit Resources',
long_description=read('README.md'),
license="GNU GPLv3",
url='https://www.bayware.io',
platforms='Posix;',
packages=['bwctl_resources', 'bwctl_resources.ansible', 'bwctl_resources.terraform'],
include_package_data=True
)