-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
52 lines (43 loc) · 1.32 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
import setuptools
import cfn_review_bot._version
version_info = cfn_review_bot._version.prepare_version_info_for_package()
def get_long_description():
with open('README.md') as readme:
return readme.read()
def get_requirements():
with open('requirements.txt') as requirements:
for line in requirements:
requires = line.partition('#')[0]
requires = line.strip()
if requires:
yield requires
setuptools.setup(
name='cfn-review-bot',
version=version_info.package_version,
author=u'Jo\u00e3o Abecasis',
author_email='joao@abecasis.name',
description='CLI to manage CloudFormation stacks',
long_description=get_long_description(),
long_description_content_type='text/markdown',
url='https://github.com/biochimia/cfn-review-bot',
classifiers=[
'Programming Language :: Python :: 3',
'License :: OSI Approved :: Apache Software License',
'Operating System :: OS Independent',
],
packages=setuptools.find_packages(),
package_data={
'cfn_review_bot': [
cfn_review_bot._version.PACKAGE_VERSION_FILE,
'templates/*.md',
],
},
data_files=[('requirements', ['requirements.txt'])],
install_requires=list(get_requirements()),
python_requires='>=3.7',
entry_points={
'console_scripts': [
'cfn-review-bot=cfn_review_bot.main:main',
],
},
)