File size: 1,784 Bytes
ff293b1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
ee21104
 
 
 
 
 
ff293b1
 
 
 
 
 
 
 
 
 
 
 
f7b3b7a
ff293b1
 
 
 
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
# 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-ghostexec"
version = "0.1.0"
description = "Ghostexec environment for OpenEnv"
requires-python = ">=3.10"
dependencies = [
    # Core OpenEnv runtime (provides FastAPI server + HTTP client types)
    # install from github
    # "openenv-core[core] @ git+https://github.com/meta-pytorch/OpenEnv.git",
    "openenv-core[core]>=0.2.3",
    # Environment-specific dependencies
    # Add all dependencies needed for your environment here
    # Examples:
    # "numpy>=1.19.0",
    # "torch>=2.0.0",
    # "gymnasium>=0.29.0",
    # "openspiel>=1.0.0",
    # "smolagents>=1.22.0,<2",
]

[project.optional-dependencies]
dev = [
    "pytest>=8.0.0",
    "pytest-cov>=4.0.0",
    "pyyaml>=6.0.0",
    "matplotlib>=3.8.0",
]
# Optional JSON-schema-constrained decoding backends (pick one).
constrained = [
    "lm-format-enforcer>=0.10",
]
constrained-outlines = [
    "outlines>=0.1",
]
train = [
    "datasets>=2.20.0",
    "trl>=0.22.2",
    "transformers>=4.45.0",
    "accelerate>=0.34.0",
]

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

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

[tool.setuptools.package-data]
ghostexec = ["scenarios/*.json", "README.md"]

[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["."]