Skip to content

Commit

Permalink
Fix install and build
Browse files Browse the repository at this point in the history
Signed-off-by: guillemdb <guillem@fragile.tech>
  • Loading branch information
Guillemdb committed Sep 2, 2024
1 parent 507d04d commit 6c632c3
Show file tree
Hide file tree
Showing 5 changed files with 162 additions and 56 deletions.
2 changes: 1 addition & 1 deletion gym/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
VERSION = "0.21.0"
VERSION = "1.21.1"
55 changes: 55 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
[project]
name = "fragile-gym"
version = "1.21.1"
description = "Gym: A universal API for reinforcement learning environments."
readme = "README.md"
requires-python = ">=3.6"
license = { text = "" }
authors = [
{ name = "OpenAI", email = "jkterry@umd.edu" }
]
urls = { "Homepage" = "https://github.com/openai/gym" }
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"
]

dependencies = [
"numpy>=1.18.0",
"cloudpickle>=1.2.0",
"importlib_metadata>=4.8.1; python_version<='3.8'",
"ipython>=8.27.0",
]

[project.optional-dependencies]
atari = ["ale-py==0.7.1"]
accept-rom-license = ["autorom[accept-rom-license]==0.4.2"]
box2d = ["box2d-py==2.3.5", "pyglet>=1.4.0"]

[tool.setuptools.packages.find]
where = ["."]
include = ["gym*"]

[tool.setuptools.package-data]
"gym" = [
"envs/mujoco/assets/*.xml",
"envs/classic_control/assets/*.png",
"envs/robotics/assets/LICENSE.md",
"envs/robotics/assets/fetch/*.xml",
"envs/robotics/assets/hand/*.xml",
"envs/robotics/assets/stls/fetch/*.stl",
"envs/robotics/assets/stls/hand/*.stl",
"envs/robotics/assets/textures/*.png"
]

[tool.pytest.ini_options]
minversion = "6.0"
addopts = "-ra -q"
testpaths = ["tests"]

[build-system]
requires = ["setuptools>=42", "wheel"]
build-backend = "setuptools.build_meta"
53 changes: 53 additions & 0 deletions requirements-dev.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
# generated by rye
# use `rye lock` or `rye sync` to update this lockfile
#
# last locked with the following flags:
# pre: false
# features: []
# all-features: false
# with-sources: false
# generate-hashes: false
# universal: false

-e file:.
asttokens==2.4.1
# via stack-data
cloudpickle==3.0.0
# via fragile-gym
decorator==5.1.1
# via ipython
exceptiongroup==1.2.2
# via ipython
executing==2.1.0
# via stack-data
ipython==8.27.0
# via fragile-gym
jedi==0.19.1
# via ipython
matplotlib-inline==0.1.7
# via ipython
numpy==2.1.0
# via fragile-gym
parso==0.8.4
# via jedi
pexpect==4.9.0
# via ipython
prompt-toolkit==3.0.47
# via ipython
ptyprocess==0.7.0
# via pexpect
pure-eval==0.2.3
# via stack-data
pygments==2.18.0
# via ipython
six==1.16.0
# via asttokens
stack-data==0.6.3
# via ipython
traitlets==5.14.3
# via ipython
# via matplotlib-inline
typing-extensions==4.12.2
# via ipython
wcwidth==0.2.13
# via prompt-toolkit
53 changes: 53 additions & 0 deletions requirements.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
# generated by rye
# use `rye lock` or `rye sync` to update this lockfile
#
# last locked with the following flags:
# pre: false
# features: []
# all-features: false
# with-sources: false
# generate-hashes: false
# universal: false

-e file:.
asttokens==2.4.1
# via stack-data
cloudpickle==3.0.0
# via fragile-gym
decorator==5.1.1
# via ipython
exceptiongroup==1.2.2
# via ipython
executing==2.1.0
# via stack-data
ipython==8.27.0
# via fragile-gym
jedi==0.19.1
# via ipython
matplotlib-inline==0.1.7
# via ipython
numpy==2.1.0
# via fragile-gym
parso==0.8.4
# via jedi
pexpect==4.9.0
# via ipython
prompt-toolkit==3.0.47
# via ipython
ptyprocess==0.7.0
# via pexpect
pure-eval==0.2.3
# via stack-data
pygments==2.18.0
# via ipython
six==1.16.0
# via asttokens
stack-data==0.6.3
# via ipython
traitlets==5.14.3
# via ipython
# via matplotlib-inline
typing-extensions==4.12.2
# via ipython
wcwidth==0.2.13
# via prompt-toolkit
55 changes: 0 additions & 55 deletions setup.py

This file was deleted.

0 comments on commit 6c632c3

Please sign in to comment.