Maintain symlinks in setup.py sdist, build, and install commands (#27149)

* Maintain symlinks in setup.py sdist, build, and install commands

Symlinks are meaningful for ansible modules.  They differentiate between
aliases and deprecated modules.  They're also useful for saving space
and where downstream patches should be applied to the bin scripts.

Fixes #27105

* Add a fallback for install and build to try to cache symlinks on their own

Needed when someone tries to invoke setup.py build or setup.py install
directly from the source checkout without an intermediate sdist.
This commit is contained in:
Toshio Kuratomi 2017-07-24 09:25:12 -07:00 committed by GitHub
commit eff757eeb8
2 changed files with 127 additions and 21 deletions

View file

@ -1,6 +1,7 @@
prune ticket_stubs
prune hacking
include README.md COPYING
include SYMLINK_CACHE.json
include requirements.txt
include .coveragerc
include .yamllint