aboutsummaryrefslogtreecommitdiff
path: root/setup.py
blob: 2c8c88add1541a3ce0e9eed74844a62ba22b1b7a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/usr/bin/env python3

import os

from setuptools import setup

VERSION = "3.1.1"

os.chdir("radicale_infcloud")
web_data = sum(([os.path.join(root, f) for f in files
                 if not f.startswith(".") and not f.endswith("~")]
                for root, _, files in os.walk("web")), [])
os.chdir(os.pardir)

setup(
    name="Radicale_InfCloud",
    version=VERSION,
    description="InfCloud for Radicale",
    author="Unrud",
    author_email="unrud@outlook.com",
    url="http://github.com/Unrud/RadicaleWeb",
    license="GNU AGPL v3",
    platforms="Any",
    packages=["radicale_infcloud"],
    package_data={"radicale_infcloud": web_data},
    install_requires=["radicale>=3.1.1"])
bgstack15