diff --git a/setup.py b/setup.py index 587e86e05..4e0c8de73 100644 --- a/setup.py +++ b/setup.py @@ -367,7 +367,7 @@ data = [('share/deluge/glade', glob.glob('glade/*.glade')), # New code to glob plugins and include subdirs: for o in os.walk('plugins'): path = o[0] - if not path.count('/.'): + if not path.count('/.') and not path.count('\\.'): items = o[2] for x in range(len(items)): items[x] = path + '/' + items[x]