setup.py 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. # yamify - define family trees in YAML
  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="yamily",
  21. use_scm_version=True,
  22. packages=setuptools.find_packages(),
  23. description="Define family trees in YAML",
  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://git.hammerle.me/fphammerle/yamily",
  29. license="GPLv3+",
  30. keywords=["ancestors", "family-tree", "genealogy", "plot", "visualize",],
  31. classifiers=[
  32. "Development Status :: 2 - Pre-Alpha",
  33. "Intended Audience :: End Users/Desktop",
  34. "License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
  35. "Operating System :: OS Independent",
  36. "Programming Language :: Python :: 3",
  37. "Topic :: Database",
  38. "Topic :: Sociology :: Genealogy",
  39. "Topic :: Utilities",
  40. ],
  41. entry_points={
  42. "console_scripts": [
  43. "yamily-dot = yamily._cli:_dot",
  44. "yamily-list = yamily._cli:_list",
  45. ]
  46. },
  47. install_requires=[],
  48. extras_require={
  49. # >= 0.7 subgraph context manager
  50. "graphviz": ["graphviz>=0.7"],
  51. "yaml": ["PyYAML"],
  52. },
  53. setup_requires=["setuptools_scm"],
  54. tests_require=["pytest"],
  55. )