Skip to content

Commit 0a5a74f

Browse files
John R. Dennisnitzmahone
John R. Dennis
authored andcommitted
Install hidden galaxy data files (e.g. .travis.yml) (ansible#56005)
The package_data globs in setup.py were missing the necessary glob to install: galaxy/data/default/.travis.yml A Python glob pattern will not by default match a hidden file (i.e. a file basename beginning with a dot). If you want a glob to pick up a hidden file in a directory you must explicitly specify a glob pattern with "/.*". Closes: ansible#1777 Signed-off-by: John Dennis <[email protected]>
1 parent 42a831d commit 0a5a74f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

setup.py

+1
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,7 @@ def get_dynamic_setup_params():
266266
'modules/windows/*.ps1',
267267
'modules/windows/*/*.ps1',
268268
'galaxy/data/*/*.*',
269+
'galaxy/data/*/.*',
269270
'galaxy/data/*/*/.*',
270271
'galaxy/data/*/*/*.*',
271272
'galaxy/data/*/tests/inventory',

0 commit comments

Comments
 (0)