setup.py 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. # ical2vdir - convert .ics file to vdir directory
  2. #
  3. # Copyright (C) 2020 Fabian Peter Hammerle <fabian@hammerle.me>
  4. #
  5. # This program 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 program 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 this program. If not, see <https://www.gnu.org/licenses/>.
  17. import pathlib
  18. import setuptools
  19. setuptools.setup(
  20. name="ical2vdir",
  21. use_scm_version=True,
  22. packages=setuptools.find_packages(),
  23. description="convert .ics file to vdir directory",
  24. long_description=pathlib.Path(__file__).parent.joinpath("README.md").read_text(),
  25. long_description_content_type="text/markdown",
  26. author="Fabian Peter Hammerle",
  27. author_email="fabian@hammerle.me",
  28. url="https://github.com/fphammerle/ical2vdir",
  29. license="GPLv3+",
  30. keywords=["calendar", "event", "iCal", "iCalendar", "ics", "split", "sync", "vdir"],
  31. classifiers=[
  32. # https://pypi.org/classifiers/
  33. "Development Status :: 3 - Alpha",
  34. "Intended Audience :: End Users/Desktop",
  35. "Intended Audience :: System Administrators",
  36. "License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
  37. "Operating System :: OS Independent",
  38. # .github/workflows/python.yml
  39. "Programming Language :: Python :: 3.5",
  40. "Programming Language :: Python :: 3.6",
  41. "Programming Language :: Python :: 3.7",
  42. "Programming Language :: Python :: 3.8",
  43. "Topic :: Utilities",
  44. ],
  45. entry_points={"console_scripts": ["ical2vdir = ical2vdir:_main",]},
  46. install_requires=["icalendar>=4,<5"],
  47. setup_requires=["setuptools_scm"],
  48. tests_require=["pytest"],
  49. )