setup.py 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. # This file is part of Radicale - CalDAV and CardDAV server
  2. # Copyright © 2009-2017 Guillaume Ayoub
  3. # Copyright © 2017-2018 Unrud <unrud@outlook.com>
  4. #
  5. # This library is free software: you can redistribute it and/or modify
  6. # it under the terms of the GNU General Public License as published by
  7. # the Free Software Foundation, either version 3 of the License, or
  8. # (at your option) any later version.
  9. #
  10. # This library is distributed in the hope that it will be useful,
  11. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. # GNU General Public License for more details.
  14. #
  15. # You should have received a copy of the GNU General Public License
  16. # along with Radicale. If not, see <http://www.gnu.org/licenses/>.
  17. """
  18. Radicale CalDAV and CardDAV server
  19. ==================================
  20. The Radicale Project is a CalDAV (calendar) and CardDAV (contact) server. It
  21. aims to be a light solution, easy to use, easy to install, easy to configure.
  22. As a consequence, it requires few software dependances and is pre-configured to
  23. work out-of-the-box.
  24. The Radicale Project runs on most of the UNIX-like platforms (Linux, BSD,
  25. MacOS X) and Windows. It is known to work with Evolution, Lightning, iPhone
  26. and Android clients. It is free and open-source software, released under GPL
  27. version 3.
  28. For further information, please visit the `Radicale Website
  29. <https://radicale.org/>`_.
  30. """
  31. from setuptools import find_packages, setup
  32. # When the version is updated, a new section in the CHANGELOG.md file must be
  33. # added too.
  34. VERSION = "master"
  35. WEB_FILES = ["web/internal_data/css/icon.png",
  36. "web/internal_data/css/main.css",
  37. "web/internal_data/fn.js",
  38. "web/internal_data/index.html"]
  39. install_requires = ["defusedxml", "passlib", "vobject>=0.9.6",
  40. "python-dateutil>=2.7.3",
  41. "setuptools; python_version<'3.9'"]
  42. bcrypt_requires = ["passlib[bcrypt]", "bcrypt"]
  43. # typeguard requires pytest<7
  44. test_requires = ["pytest<7", "typeguard", "waitress", *bcrypt_requires]
  45. setup(
  46. name="Radicale",
  47. version=VERSION,
  48. description="CalDAV and CardDAV Server",
  49. long_description=__doc__,
  50. author="Guillaume Ayoub",
  51. author_email="guillaume.ayoub@kozea.fr",
  52. url="https://radicale.org/",
  53. download_url=("https://pypi.python.org/packages/source/R/Radicale/"
  54. "Radicale-%s.tar.gz" % VERSION),
  55. license="GNU GPL v3",
  56. platforms="Any",
  57. packages=find_packages(
  58. exclude=["*.tests", "*.tests.*", "tests.*", "tests"]),
  59. package_data={"radicale": [*WEB_FILES, "py.typed"]},
  60. entry_points={"console_scripts": ["radicale = radicale.__main__:run"]},
  61. install_requires=install_requires,
  62. extras_require={"test": test_requires, "bcrypt": bcrypt_requires},
  63. keywords=["calendar", "addressbook", "CalDAV", "CardDAV"],
  64. python_requires=">=3.6.0",
  65. classifiers=[
  66. "Development Status :: 5 - Production/Stable",
  67. "Environment :: Console",
  68. "Environment :: Web Environment",
  69. "Intended Audience :: End Users/Desktop",
  70. "Intended Audience :: Information Technology",
  71. "License :: OSI Approved :: GNU General Public License (GPL)",
  72. "Operating System :: OS Independent",
  73. "Programming Language :: Python :: 3",
  74. "Programming Language :: Python :: 3.6",
  75. "Programming Language :: Python :: 3.7",
  76. "Programming Language :: Python :: 3.8",
  77. "Programming Language :: Python :: 3.9",
  78. "Programming Language :: Python :: 3.10",
  79. "Programming Language :: Python :: Implementation :: CPython",
  80. "Programming Language :: Python :: Implementation :: PyPy",
  81. "Topic :: Office/Business :: Groupware"])