mirror of
https://github.com/Farama-Foundation/Gymnasium.git
synced 2025-07-30 21:34:30 +00:00
Add support for python 3.6 (#2836)
* Add support for python 3.6 * Add support for python 3.6 * Added check for python 3.6 to not install mujoco as no version exists * Fixed the install groups for python 3.6 * Re-added python 3.6 support for gym * black * Added support for dataclasses through dataclasses module in setup that backports the module * Fixed install requirements * Re-added dummy env spec with dataclasses * Changed type for compatability for python 3.6 * Added a python 3.6 warning * Fixed python 3.6 typing issue * Removed __future__ import annotation for python 3.6 support * Fixed python 3.6 typing
This commit is contained in:
6
setup.py
6
setup.py
@@ -55,8 +55,9 @@ setup(
|
||||
install_requires=[
|
||||
"numpy>=1.18.0",
|
||||
"cloudpickle>=1.2.0",
|
||||
"importlib_metadata>=4.10.0; python_version < '3.10'",
|
||||
"importlib_metadata>=4.8.0; python_version < '3.10'",
|
||||
"gym_notices>=0.0.4",
|
||||
"dataclasses==0.8; python_version == '3.6'",
|
||||
],
|
||||
extras_require=extras,
|
||||
package_data={
|
||||
@@ -69,9 +70,10 @@ setup(
|
||||
]
|
||||
},
|
||||
tests_require=["pytest", "mock"],
|
||||
python_requires=">=3.7",
|
||||
python_requires=">=3.6",
|
||||
classifiers=[
|
||||
"Programming Language :: Python :: 3",
|
||||
"Programming Language :: Python :: 3.6",
|
||||
"Programming Language :: Python :: 3.7",
|
||||
"Programming Language :: Python :: 3.8",
|
||||
"Programming Language :: Python :: 3.9",
|
||||
|
Reference in New Issue
Block a user