1
0
Fork 0
mirror of https://github.com/Kozea/Radicale.git synced 2025-06-26 16:45:52 +00:00
Radicale/setup.py

82 lines
3.4 KiB
Python
Raw Normal View History

2023-02-10 22:03:33 +01:00
# This file is part of Radicale - CalDAV and CardDAV server
2017-05-27 17:28:07 +02:00
# Copyright © 2009-2017 Guillaume Ayoub
2019-06-17 04:13:24 +02:00
# Copyright © 2017-2018 Unrud <unrud@outlook.com>
2009-09-01 19:09:11 +02:00
#
# This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Radicale. If not, see <http://www.gnu.org/licenses/>.
2018-08-29 16:39:26 +02:00
from setuptools import find_packages, setup
2016-04-10 11:31:52 +02:00
2023-02-10 22:03:33 +01:00
# When the version is updated, a new section in the CHANGELOG.md file must be
# added too.
2024-06-18 20:24:59 +02:00
VERSION = "3.dev"
2023-02-10 22:03:33 +01:00
with open("README.md", encoding="utf-8") as f:
long_description = f.read()
web_files = ["web/internal_data/css/icon.png",
2024-05-06 13:08:22 +02:00
"web/internal_data/css/loading.svg",
"web/internal_data/css/logo.svg",
2018-08-28 16:19:36 +02:00
"web/internal_data/css/main.css",
2024-05-06 13:08:22 +02:00
"web/internal_data/css/icons/delete.svg",
"web/internal_data/css/icons/download.svg",
"web/internal_data/css/icons/edit.svg",
"web/internal_data/css/icons/new.svg",
"web/internal_data/css/icons/upload.svg",
2018-08-28 16:19:36 +02:00
"web/internal_data/fn.js",
"web/internal_data/index.html"]
2023-02-10 22:03:33 +01:00
install_requires = ["defusedxml", "passlib", "vobject>=0.9.6",
2024-03-18 20:58:40 +01:00
"python-dateutil>=2.7.3",
"pika>=1.1.0",
]
bcrypt_requires = ["bcrypt"]
test_requires = ["pytest>=7", "typeguard<4.3", "waitress", *bcrypt_requires]
2009-09-01 19:09:11 +02:00
setup(
name="Radicale",
version=VERSION,
2012-03-20 18:41:14 +01:00
description="CalDAV and CardDAV Server",
2023-02-10 22:03:33 +01:00
long_description=long_description,
long_description_content_type="text/markdown",
2009-09-01 19:09:11 +02:00
author="Guillaume Ayoub",
author_email="guillaume.ayoub@kozea.fr",
url="https://radicale.org/",
2009-09-01 19:09:11 +02:00
license="GNU GPL v3",
2010-04-13 01:30:47 +02:00
platforms="Any",
2018-08-29 16:39:26 +02:00
packages=find_packages(
exclude=["*.tests", "*.tests.*", "tests.*", "tests"]),
2023-02-10 22:03:33 +01:00
package_data={"radicale": [*web_files, "py.typed"]},
2018-04-20 14:57:23 +02:00
entry_points={"console_scripts": ["radicale = radicale.__main__:run"]},
2023-02-10 22:03:33 +01:00
install_requires=install_requires,
extras_require={"test": test_requires, "bcrypt": bcrypt_requires},
keywords=["calendar", "addressbook", "CalDAV", "CardDAV"],
python_requires=">=3.8.0",
2010-04-13 01:30:47 +02:00
classifiers=[
2015-09-14 11:55:49 +02:00
"Development Status :: 5 - Production/Stable",
2010-04-13 01:30:47 +02:00
"Environment :: Console",
"Environment :: Web Environment",
"Intended Audience :: End Users/Desktop",
"Intended Audience :: Information Technology",
"License :: OSI Approved :: GNU General Public License (GPL)",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
2020-01-13 15:51:10 +01:00
"Programming Language :: Python :: 3.8",
2023-02-10 22:03:33 +01:00
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
2023-03-05 16:52:07 +01:00
"Programming Language :: Python :: 3.11",
2024-03-05 20:48:04 +01:00
"Programming Language :: Python :: 3.12",
2024-06-09 08:32:22 +02:00
"Programming Language :: Python :: 3.13",
2023-02-10 22:03:33 +01:00
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
2010-04-13 01:30:47 +02:00
"Topic :: Office/Business :: Groupware"])