setup.py 1.4 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 = {
  14. "testing": ["pytest==7.0.1"]
  15. }
  16. setup(
  17. name="gym_minigrid",
  18. author="Farama Foundation",
  19. author_email="jkterry@farama.org",
  20. classifiers=[
  21. "Development Status :: 5 - Production/Stable",
  22. "Programming Language :: Python :: 3",
  23. "Programming Language :: Python :: 3.6",
  24. "Programming Language :: Python :: 3.7",
  25. "Programming Language :: Python :: 3.8",
  26. "Programming Language :: Python :: 3.9",
  27. "Programming Language :: Python :: 3.10",
  28. ],
  29. version="1.1.0",
  30. keywords="memory, environment, agent, rl, gym",
  31. url="https://github.com/Farama-Foundation/gym-minigrid",
  32. description="Minimalistic gridworld reinforcement learning environments",
  33. extras_require=extras,
  34. packages=["gym_minigrid", "gym_minigrid.envs"],
  35. license="Apache",
  36. long_description=long_description,
  37. long_description_content_type="text/markdown",
  38. install_requires=[
  39. "gym>=0.25.0",
  40. "numpy>=1.18.0",
  41. "matplotlib>=3.0",
  42. ],
  43. python_requires=">=3.6",
  44. tests_require=extras["testing"],
  45. )