setup.py 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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.6",
  22. "Programming Language :: Python :: 3.7",
  23. "Programming Language :: Python :: 3.8",
  24. "Programming Language :: Python :: 3.9",
  25. "Programming Language :: Python :: 3.10",
  26. ],
  27. version="1.1.0",
  28. keywords="memory, environment, agent, rl, gym",
  29. url="https://github.com/Farama-Foundation/gym-minigrid",
  30. description="Minimalistic gridworld reinforcement learning environments",
  31. extras_require=extras,
  32. packages=["gym_minigrid", "gym_minigrid.envs"],
  33. entry_points={
  34. "gym.envs": ["__root__ = gym_minigrid.__init__:register_minigrid_envs"]
  35. },
  36. license="Apache",
  37. long_description=long_description,
  38. long_description_content_type="text/markdown",
  39. install_requires=[
  40. "gym>=0.25.0",
  41. "numpy>=1.18.0",
  42. "matplotlib>=3.0",
  43. ],
  44. python_requires=">=3.6",
  45. tests_require=extras["testing"],
  46. )