From b5fb56a31b9ea9ce1a4d5f1fe2cf292312fcfa08 Mon Sep 17 00:00:00 2001 From: Unrud Date: Thu, 1 Jun 2017 16:10:27 +0200 Subject: [PATCH] Include files for web interface in package --- setup.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/setup.py b/setup.py index f7d7073..3c74ac2 100755 --- a/setup.py +++ b/setup.py @@ -41,6 +41,9 @@ from os import path from setuptools import setup +WEB_FILES = ["web/css/icon.png", "web/css/main.css", "web/fn.js", + "web/index.html"] + init_path = path.join(path.dirname(__file__), "radicale", "__init__.py") with open(init_path, "r", encoding="utf-8") as fd: version = re.search('VERSION = "([^"]+)"', fd.read().strip()).group(1) @@ -64,6 +67,7 @@ setup( license="GNU GPL v3", platforms="Any", packages=["radicale"], + package_data={"radicale": WEB_FILES}, provides=["radicale"], scripts=["bin/radicale"], install_requires=["vobject"],