setup.py 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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. license="Apache",
  34. long_description=long_description,
  35. long_description_content_type="text/markdown",
  36. install_requires=[
  37. "gym>=0.25.0",
  38. "numpy>=1.18.0",
  39. "matplotlib>=3.0",
  40. ],
  41. python_requires=">=3.6",
  42. tests_require=extras["testing"],
  43. )