2009-09-01 19:09:11 +02:00
|
|
|
#!/usr/bin/python
|
|
|
|
#
|
|
|
|
# This file is part of Radicale Server - Calendar Server
|
2016-03-31 19:57:40 +02:00
|
|
|
# Copyright © 2009-2016 Guillaume Ayoub
|
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/>.
|
|
|
|
|
2010-04-12 12:23:22 +02:00
|
|
|
"""
|
2012-03-20 18:41:14 +01:00
|
|
|
Radicale CalDAV and CardDAV server
|
|
|
|
==================================
|
2010-04-12 12:23:22 +02:00
|
|
|
|
2012-03-20 18:41:14 +01:00
|
|
|
The Radicale Project is a CalDAV (calendar) and CardDAV (contact) server. It
|
|
|
|
aims to be a light solution, easy to use, easy to install, easy to configure.
|
|
|
|
As a consequence, it requires few software dependances and is pre-configured to
|
|
|
|
work out-of-the-box.
|
2010-04-13 01:30:47 +02:00
|
|
|
|
2010-04-13 01:59:13 +02:00
|
|
|
The Radicale Project runs on most of the UNIX-like platforms (Linux, BSD,
|
2011-12-06 15:10:45 +01:00
|
|
|
MacOS X) and Windows. It is known to work with Evolution, Lightning, iPhone
|
2011-04-02 12:03:33 +02:00
|
|
|
and Android clients. It is free and open-source software, released under GPL
|
2010-05-30 23:52:21 +02:00
|
|
|
version 3.
|
2010-04-13 01:30:47 +02:00
|
|
|
|
|
|
|
For further information, please visit the `Radicale Website
|
|
|
|
<http://www.radicale.org/>`_.
|
2010-04-12 12:23:22 +02:00
|
|
|
|
|
|
|
"""
|
|
|
|
|
2016-04-10 11:31:52 +02:00
|
|
|
import re
|
2016-08-05 16:27:55 +02:00
|
|
|
import sys
|
2016-04-10 11:31:52 +02:00
|
|
|
from os import path
|
|
|
|
|
2015-01-05 00:41:50 +01:00
|
|
|
from setuptools import setup
|
2016-04-10 11:31:52 +02:00
|
|
|
|
|
|
|
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)
|
2010-05-31 00:49:52 +02:00
|
|
|
|
|
|
|
|
2016-08-05 16:22:55 +02:00
|
|
|
needs_pytest = {'pytest', 'test', 'ptr'}.intersection(sys.argv)
|
|
|
|
pytest_runner = ['pytest-runner'] if needs_pytest else []
|
|
|
|
|
2010-06-05 01:01:35 +02:00
|
|
|
# When the version is updated, ``radicale.VERSION`` must be modified.
|
|
|
|
# A new section in the ``NEWS`` file must be added too.
|
2009-09-01 19:09:11 +02:00
|
|
|
setup(
|
|
|
|
name="Radicale",
|
2016-04-10 11:31:52 +02:00
|
|
|
version=version,
|
2012-03-20 18:41:14 +01:00
|
|
|
description="CalDAV and CardDAV Server",
|
2010-04-13 01:30:47 +02:00
|
|
|
long_description=__doc__,
|
2009-09-01 19:09:11 +02:00
|
|
|
author="Guillaume Ayoub",
|
|
|
|
author_email="guillaume.ayoub@kozea.fr",
|
|
|
|
url="http://www.radicale.org/",
|
2012-08-08 18:29:09 +02:00
|
|
|
download_url=("http://pypi.python.org/packages/source/R/Radicale/"
|
2016-04-10 11:31:52 +02:00
|
|
|
"Radicale-%s.tar.gz" % version),
|
2009-09-01 19:09:11 +02:00
|
|
|
license="GNU GPL v3",
|
2010-04-13 01:30:47 +02:00
|
|
|
platforms="Any",
|
2016-04-07 19:43:02 +02:00
|
|
|
packages=["radicale"],
|
2010-04-13 01:30:47 +02:00
|
|
|
provides=["radicale"],
|
2011-11-03 17:47:35 +01:00
|
|
|
scripts=["bin/radicale"],
|
2016-08-08 05:02:36 +02:00
|
|
|
install_requires=["vobject"],
|
2016-08-05 16:22:55 +02:00
|
|
|
setup_requires=pytest_runner,
|
|
|
|
tests_require=[
|
|
|
|
"pytest-runner", "pytest-cov", "pytest-flake8", "pytest-isort"],
|
|
|
|
extras_require={"test": [
|
2016-08-05 16:27:55 +02:00
|
|
|
"pytest-runner", "pytest-cov", "pytest-flake8", "pytest-isort"]},
|
2012-01-25 14:53:46 +01:00
|
|
|
keywords=["calendar", "addressbook", "CalDAV", "CardDAV"],
|
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",
|
2013-06-28 16:21:56 +02:00
|
|
|
"Programming Language :: Python :: 3.3",
|
2014-04-15 18:24:44 +02:00
|
|
|
"Programming Language :: Python :: 3.4",
|
2015-12-31 12:51:23 +01:00
|
|
|
"Programming Language :: Python :: 3.5",
|
2010-04-13 01:30:47 +02:00
|
|
|
"Topic :: Office/Business :: Groupware"])
|