setup.py 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. import pathlib
  2. import setuptools
  3. _REPO_URL = "https://github.com/fphammerle/location-guessing-game-telegram-bot"
  4. setuptools.setup(
  5. name="location-guessing-game-telegram-bot",
  6. use_scm_version=True,
  7. packages=setuptools.find_packages(),
  8. description="Basic Telegram Bot Sending Random Wikimedia Commons Photos",
  9. long_description=pathlib.Path(__file__).parent.joinpath("README.md").read_text(),
  10. long_description_content_type="text/markdown",
  11. author="Fabian Peter Hammerle",
  12. author_email="fabian+location-guessing@hammerle.me",
  13. url=_REPO_URL,
  14. project_urls={"Changelog": _REPO_URL + "/blob/master/CHANGELOG.md"},
  15. keywords=["bot", "game", "guessing", "location", "photos", "telegram",],
  16. classifiers=[
  17. # https://pypi.org/classifiers/
  18. "Development Status :: 3 - Alpha",
  19. "Intended Audience :: End Users/Desktop",
  20. "Operating System :: OS Independent",
  21. "Topic :: Games/Entertainment",
  22. # .github/workflows/python.yml TODO
  23. # "Programming Language :: Python :: 3.5",
  24. # "Programming Language :: Python :: 3.6",
  25. # "Programming Language :: Python :: 3.7",
  26. # "Programming Language :: Python :: 3.8",
  27. # "Programming Language :: Python :: 3.9",
  28. ],
  29. entry_points={
  30. "console_scripts": [
  31. "location-guessing-game-telegram-bot = location_guessing_game_telegram_bot:_main",
  32. ]
  33. },
  34. install_requires=[
  35. # >=13.0 telegram.chat.Chat.send_location shortcut
  36. # https://github.com/python-telegram-bot/python-telegram-bot/commit/fc5844c13da3b3fb20bb2d0bfcdf1efb1a826ba6#diff-2590f2bde47ea3730442f14a3a029ef77d8f2c8f3186cf5edd7e18bcc7243c39R381
  37. "python-telegram-bot >= 13.0"
  38. ],
  39. setup_requires=["setuptools_scm"],
  40. # tests_require=["pytest"], TODO
  41. )