12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- from setuptools import setup
- with open("README.md") as fh:
- long_description = ""
- header_count = 0
- for line in fh:
- if line.startswith("##"):
- header_count += 1
- if header_count < 2:
- long_description += line
- else:
- break
- # pytest is pinned to 7.0.1 as this is last version for python 3.6
- extras = {"testing": ["pytest==7.0.1"]}
- setup(
- name="gym_minigrid",
- author="Farama Foundation",
- author_email="jkterry@farama.org",
- classifiers=[
- "Development Status :: 5 - Production/Stable",
- "Programming Language :: Python :: 3",
- "Programming Language :: Python :: 3.7",
- "Programming Language :: Python :: 3.8",
- "Programming Language :: Python :: 3.9",
- "Programming Language :: Python :: 3.10",
- ],
- version="1.2.2",
- keywords="memory, environment, agent, rl, gym",
- url="https://github.com/Farama-Foundation/gym-minigrid",
- description="Minimalistic gridworld reinforcement learning environments",
- extras_require=extras,
- packages=["gym_minigrid", "gym_minigrid.envs"],
- entry_points={
- "gym.envs": ["__root__ = gym_minigrid.__init__:register_minigrid_envs"]
- },
- license="Apache",
- long_description=long_description,
- long_description_content_type="text/markdown",
- install_requires=[
- "gym>=0.26",
- "numpy>=1.18.0",
- "matplotlib>=3.0",
- ],
- python_requires=">=3.7",
- tests_require=extras["testing"],
- )
|