From 4bf826f5144a4d7538a00d408cc15aeeb791310f Mon Sep 17 00:00:00 2001 From: James Cammarata Date: Thu, 7 Aug 2014 11:17:13 -0500 Subject: [PATCH] Include *.ps1 files in the library for installation Fixes #8490 --- MANIFEST.in | 2 +- setup.py | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/MANIFEST.in b/MANIFEST.in index 8ddaf03b77..4fb0c04a4e 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -3,7 +3,7 @@ include examples/hosts include examples/ansible.cfg graft examples/playbooks include packaging/distutils/setup.py -include lib/ansible/module_common/*.ps1 +include lib/ansible/module_utils/powershell.ps1 recursive-include docs * recursive-include library * include Makefile diff --git a/setup.py b/setup.py index 2323afa458..6d7e159196 100644 --- a/setup.py +++ b/setup.py @@ -52,6 +52,9 @@ setup(name='ansible', 'ansible.callback_plugins', 'ansible.module_utils' ], + package_data={ + '': ['module_utils/*.ps1'], + }, scripts=[ 'bin/ansible', 'bin/ansible-playbook',