File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change
1
+ PyYAML
2
+ tabulate
Original file line number Diff line number Diff line change 4
4
5
5
from setuptools import find_packages , setup
6
6
7
+
8
+ def get_requirements ():
9
+ with open ("./requirements.txt" ) as file :
10
+ return file .readlines ()
11
+
7
12
# https://packaging.python.org/guides/single-sourcing-package-version/
8
13
version = {}
9
14
with open ("./ansible_bender/version.py" ) as fp :
10
15
exec (fp .read (), version )
11
16
12
17
long_description = '' .join (open ('README.md' ).readlines ())
13
18
19
+
14
20
setup (
15
21
name = 'ansible-bender' ,
16
22
version = version ["__version__" ],
17
23
description = "A tool which builds container images using Ansible playbooks." ,
18
24
long_description = long_description ,
19
25
# long_description_content_type='text/markdown',
20
26
packages = find_packages (exclude = ['tests' ]),
21
- install_requires = [],
27
+ python_requires = '>=3.6' ,
28
+ install_requires = get_requirements (),
22
29
entry_points = '''
23
30
[console_scripts]
24
31
ab=ansible_bender.cli:main
You can’t perform that action at this time.
0 commit comments