summaryrefslogtreecommitdiffstats
path: root/setup.py
diff options
context:
space:
mode:
authorToshio Kuratomi <a.badger@gmail.com>2016-11-03 20:13:39 +0100
committerToshio Kuratomi <a.badger@gmail.com>2016-11-04 01:46:11 +0100
commita3ba96c5126c1d36fc0dcaa7b86e63e981232189 (patch)
treefe4a747956e4601c24de79a40f2cf890de6b28cc /setup.py
parentPython 3 fixes for ansible-doc. (diff)
downloadansible-a3ba96c5126c1d36fc0dcaa7b86e63e981232189.tar.xz
ansible-a3ba96c5126c1d36fc0dcaa7b86e63e981232189.zip
Fix setup.py install.
In setuptools prior to 21.2.1, package_data can't directly reference a directory. Modify the entry for galaxy data so that it includes the files but not the directories Fixes #18231
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup.py b/setup.py
index ef7aa3dad6..8cd831802b 100644
--- a/setup.py
+++ b/setup.py
@@ -26,7 +26,7 @@ setup(name='ansible',
package_dir={ '': 'lib' },
packages=find_packages('lib'),
package_data={
- '': ['module_utils/*.ps1', 'modules/core/windows/*.ps1', 'modules/extras/windows/*.ps1', 'galaxy/data/*'],
+ '': ['module_utils/*.ps1', 'modules/core/windows/*.ps1', 'modules/extras/windows/*.ps1', 'galaxy/data/*/*.*', 'galaxy/data/*/*/*.*', 'galaxy/data/*/tests/inventory'],
},
classifiers=[
'Development Status :: 5 - Production/Stable',