aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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