Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow awxkit -e install without VERSION file #15577

Open
wants to merge 1 commit into
base: devel
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading