diff options
author | Unrud <unrud@openaliasbox.org> | 2017-03-19 16:20:21 +0100 |
---|---|---|
committer | Unrud <unrud@openaliasbox.org> | 2017-03-19 16:20:21 +0100 |
commit | 86e6149d07e4134d91c3effc68cbfadc97e97dcf (patch) | |
tree | ef577b59695772ac9a4dd89d702d37aa50bf627b /setup.py | |
parent | InfCloud: Allow empty passwords (diff) | |
download | radicaleinfcloud-86e6149d07e4134d91c3effc68cbfadc97e97dcf.tar.gz radicaleinfcloud-86e6149d07e4134d91c3effc68cbfadc97e97dcf.tar.bz2 radicaleinfcloud-86e6149d07e4134d91c3effc68cbfadc97e97dcf.zip |
Fix compatibility with older versions of setuptools
package_data must not include directories.
Diffstat (limited to 'setup.py')
-rwxr-xr-x | setup.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -11,7 +11,7 @@ init_path = os.path.join(os.path.dirname(__file__), with open(init_path) as f: version = re.search(r'VERSION = "([^"]+)"', f.read()).group(1) os.chdir("radicale_web") -web_data = glob.glob("web/**/*[!~]", recursive=True) +web_data = list(filter(os.path.isfile, glob.glob("web/**/*[!~]", recursive=True))) os.chdir(os.pardir) setup( |