Skip to content

Commit

Permalink
Allow awxkit -e install without VERSION file
Browse files Browse the repository at this point in the history
  • Loading branch information
AlanCoding committed Oct 8, 2024
1 parent 579c2b7 commit d45f961
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion awxkit/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ def setup_requires():
extra_setup_args = {}
if not version_file():
extra_setup_args.update(dict(use_scm_version=dict(root="..", relative_to=__file__), setup_requires=setup_requires()))
else:
extra_setup_args['version'] = get_version_from_file()


class CleanCommand(Command):
Expand Down Expand Up @@ -77,7 +79,6 @@ def run(self):

setup(
name='awxkit',
version=get_version_from_file(),
description='The official command line interface for Ansible AWX',
author='Red Hat, Inc.',
author_email='[email protected]',
Expand Down

0 comments on commit d45f961

Please sign in to comment.