Fix version when installing from sdist

When installing an sdist, setup.py is invoked on the machine you're installing on. We extract the version from a git tag, but the repo is not included in the sdist. The git describe --long command will silently fail and cause the installed package to report version 0.0.0.0.
This commit is contained in:
Shane McDonald
2017-07-25 10:54:42 -04:00
parent 0cf376ca6f
commit 7695cb6419
4 changed files with 16 additions and 5 deletions

1
.gitignore vendored
View File

@@ -107,6 +107,7 @@ local/
*.mo
requirements/vendor
.i18n_built
VERSION
# AWX python libs populated by requirements.txt
awx/lib/.deps_built