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

View File

@@ -22,6 +22,7 @@ include tools/scripts/failure-event-handler
include tools/scripts/tower-python
include awx/playbooks/library/mkfifo.py
include tools/sosreport/*
include VERSION
include COPYING
include Makefile
prune awx/public