setup.py 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  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. # 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. _REPO_URL = "https://github.com/fphammerle/ical2vdir"
  20. setuptools.setup(
  21. name="ical2vdir",
  22. use_scm_version=True,
  23. packages=setuptools.find_packages(),
  24. description="convert .ics file to vdir directory",
  25. long_description=pathlib.Path(__file__).parent.joinpath("README.md").read_text(),
  26. long_description_content_type="text/markdown",
  27. author="Fabian Peter Hammerle",
  28. author_email="fabian@hammerle.me",
  29. url=_REPO_URL,
  30. project_urls={"Changelog": _REPO_URL + "/blob/master/CHANGELOG.md"},
  31. license="GPLv3+",
  32. keywords=["calendar", "event", "iCal", "iCalendar", "ics", "split", "sync", "vdir"],
  33. classifiers=[
  34. # https://pypi.org/classifiers/
  35. "Development Status :: 4 - Beta",
  36. "Intended Audience :: End Users/Desktop",
  37. "Intended Audience :: System Administrators",
  38. "License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
  39. "Operating System :: OS Independent",
  40. # .github/workflows/python.yml
  41. "Programming Language :: Python :: 3.9",
  42. "Programming Language :: Python :: 3.10",
  43. "Programming Language :: Python :: 3.11",
  44. "Topic :: Utilities",
  45. ],
  46. entry_points={
  47. "console_scripts": [
  48. "ical2vdir = ical2vdir:_main",
  49. ]
  50. },
  51. python_requires=">=3.9", # python<3.9 untested
  52. install_requires=["icalendar>=4,<5"],
  53. setup_requires=["setuptools_scm"],
  54. tests_require=["pytest"],
  55. )