You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

48 lines
1.5 KiB

1 year ago
  1. from setuptools import setup
  2. with open("README.md") as fh:
  3. long_description = ""
  4. header_count = 0
  5. for line in fh:
  6. if line.startswith("##"):
  7. header_count += 1
  8. if header_count < 2:
  9. long_description += line
  10. else:
  11. break
  12. # pytest is pinned to 7.0.1 as this is last version for python 3.6
  13. extras = {"testing": ["pytest==7.0.1"]}
  14. setup(
  15. name="gym_minigrid",
  16. author="Farama Foundation",
  17. author_email="jkterry@farama.org",
  18. classifiers=[
  19. "Development Status :: 5 - Production/Stable",
  20. "Programming Language :: Python :: 3",
  21. "Programming Language :: Python :: 3.7",
  22. "Programming Language :: Python :: 3.8",
  23. "Programming Language :: Python :: 3.9",
  24. "Programming Language :: Python :: 3.10",
  25. ],
  26. version="1.2.2",
  27. keywords="memory, environment, agent, rl, gym",
  28. url="https://github.com/Farama-Foundation/gym-minigrid",
  29. description="Minimalistic gridworld reinforcement learning environments",
  30. extras_require=extras,
  31. packages=["gym_minigrid", "gym_minigrid.envs"],
  32. entry_points={
  33. "gym.envs": ["__root__ = gym_minigrid.__init__:register_minigrid_envs"]
  34. },
  35. license="Apache",
  36. long_description=long_description,
  37. long_description_content_type="text/markdown",
  38. install_requires=[
  39. "gym>=0.26",
  40. "numpy>=1.18.0",
  41. "matplotlib>=3.0",
  42. ],
  43. python_requires=">=3.7",
  44. tests_require=extras["testing"],
  45. )