From dae8857d3da88994a321e7bb9e0972880a6c3840 Mon Sep 17 00:00:00 2001 From: Matt Davis Date: Mon, 31 Jul 2017 12:16:26 -0700 Subject: [PATCH] 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) --- MANIFEST.in | 2 +- setup.py | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/MANIFEST.in b/MANIFEST.in index 918a1c03b8..d0e82731ab 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -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 * diff --git a/setup.py b/setup.py index c741c568a4..89fffa5895 100644 --- a/setup.py +++ b/setup.py @@ -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/*/*/*.*',