Skip to content

Commit

Permalink
Depend on ansible-core on Python 3.6+
Browse files Browse the repository at this point in the history
This makes packaging on Fedora easier, where the is no more ansible but
only ansible-core.
  • Loading branch information
ekohl committed Dec 23, 2023
1 parent 3625419 commit 54c0125
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,11 @@ def find_package_data(package, data_dir):

packages=find_packages(exclude=['contrib', 'docs', 'tests']),

install_requires=['ansible >= 2.5', 'obsah >= 0.0.3'],
install_requires=[
'ansible >= 2.5; python_version < 3.6',
'ansible-core >= 2.11; python_version >= 3.6',
'obsah >= 0.0.3',
],

extras_require={
'argcomplete': ['argcomplete'],
Expand Down

0 comments on commit 54c0125

Please sign in to comment.