powershell setup fixes (#27516)

* fixes #27374
* recursively include top 2 levels of .psm1's under module_utils/powershell
* recursively include top 2 levels of .ps1's under modules/windows (for future restructuring)
This commit is contained in:
Matt Davis 2017-07-31 12:16:26 -07:00 committed by GitHub
parent bc3c315bc8
commit dae8857d3d
2 changed files with 4 additions and 3 deletions

View file

@ -7,7 +7,7 @@ include .coveragerc
include .yamllint
include examples/hosts
include examples/ansible.cfg
include lib/ansible/module_utils/powershell/*.psm1
recursive-include lib/ansible/module_utils/powershell *
recursive-include lib/ansible/modules *
recursive-include lib/ansible/galaxy/data *
recursive-include docs *

View file

@ -172,9 +172,10 @@ setup(
packages=find_packages('lib'),
package_data={
'': [
'module_utils/*.ps1',
'modules/windows/*.ps1',
'module_utils/powershell/*.psm1',
'module_utils/powershell/*/*.psm1',
'modules/windows/*.ps1',
'modules/windows/*/*.ps1',
'galaxy/data/*/*.*',
'galaxy/data/*/*/.*',
'galaxy/data/*/*/*.*',