File size: 1,391 Bytes
6dd47af
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
654f812
6dd47af
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# Copyright (c) Meta Platforms, Inc. and affiliates.
# All rights reserved.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.

[build-system]
requires = ["setuptools>=45", "wheel"]
build-backend = "setuptools.build_meta"

[project]
name = "openenv-dmcontrol-env"
version = "0.1.0"
description = "dm_control Environment for OpenEnv - wraps MuJoCo-based continuous control tasks (cartpole, walker, humanoid, etc.)"
requires-python = ">=3.10"
dependencies = [
    # Core OpenEnv dependencies
    "openenv-core[core] @ git+https://github.com/meta-pytorch/OpenEnv.git",
    "fastapi>=0.115.0",
    "pydantic>=2.0.0",
    "uvicorn>=0.24.0",
    "requests>=2.31.0",
    # dm_control dependencies
    "mujoco>=3.0.0",
    "dm_control>=1.0.0",
    "numpy>=1.20.0",
    # Optional: for pixel observations
    "pillow>=9.0.0",
]

[project.optional-dependencies]
dev = [
    "pytest>=8.0.0",
    "pytest-cov>=4.0.0",
]
interactive = [
    # For interactive examples with keyboard control
    "pygame>=2.0.0",
]

[project.scripts]
# Server entry point - enables running via: uv run --project . server
server = "dm_control_env.server.app:main"

[tool.setuptools]
include-package-data = true
packages = ["dm_control_env", "dm_control_env.server"]
package-dir = { "dm_control_env" = ".", "dm_control_env.server" = "server" }