mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
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
This commit is contained in:
parent
88dbb5a630
commit
a3ba96c512
1 changed files with 1 additions and 1 deletions
2
setup.py
2
setup.py
|
@ -26,7 +26,7 @@ setup(name='ansible',
|
||||||
package_dir={ '': 'lib' },
|
package_dir={ '': 'lib' },
|
||||||
packages=find_packages('lib'),
|
packages=find_packages('lib'),
|
||||||
package_data={
|
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=[
|
classifiers=[
|
||||||
'Development Status :: 5 - Production/Stable',
|
'Development Status :: 5 - Production/Stable',
|
||||||
|
|
Loading…
Reference in a new issue