Changeset View
Changeset View
Standalone View
Standalone View
graphics/py-mayavi/files/patch-setup.py
Property | Old Value | New Value |
---|---|---|
fbsd:nokeywords | null | yes \ No newline at end of property |
svn:eol-style | null | native \ No newline at end of property |
svn:mime-type | null | text/plain \ No newline at end of property |
--- setup.py.orig 2015-06-17 15:03:14 UTC | |||||
+++ setup.py | |||||
@@ -380,7 +380,7 @@ def configuration(parent_package=None, t | |||||
# Image files. | |||||
for pkgdir in ('mayavi', 'tvtk'): | |||||
for root, dirs, files in os.walk(pkgdir): | |||||
- if split(root)[-1] == 'images': | |||||
+ if (split(root)[-1] == 'images') and files: | |||||
config.add_data_dir(root) | |||||
# *.ini files. |