aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUnrud <unrud@openaliasbox.org>2017-03-19 16:20:21 +0100
committerUnrud <unrud@openaliasbox.org>2017-03-19 16:20:21 +0100
commit86e6149d07e4134d91c3effc68cbfadc97e97dcf (patch)
treeef577b59695772ac9a4dd89d702d37aa50bf627b
parentInfCloud: Allow empty passwords (diff)
downloadradicaleinfcloud-86e6149d07e4134d91c3effc68cbfadc97e97dcf.tar.gz
radicaleinfcloud-86e6149d07e4134d91c3effc68cbfadc97e97dcf.tar.bz2
radicaleinfcloud-86e6149d07e4134d91c3effc68cbfadc97e97dcf.zip
Fix compatibility with older versions of setuptools
package_data must not include directories.
-rwxr-xr-xsetup.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup.py b/setup.py
index 487c90d..aa90b1d 100755
--- a/setup.py
+++ b/setup.py
@@ -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(
bgstack15