-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow awxkit -e install without VERSION file
- Loading branch information
1 parent
579c2b7
commit d45f961
Showing
1 changed file
with
2 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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): | ||
|
@@ -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]', | ||
|