File size: 1,579 Bytes
225e725
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7f60dea
37818f1
 
 
 
 
 
 
 
 
 
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
# 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-subtext_arena"
version = "0.1.0"
description = "Subtext Arena environment for OpenEnv"
requires-python = ">=3.10"
dependencies = [
    # Core OpenEnv runtime (provides FastAPI server + HTTP client types)
    "openenv-core[core]>=0.2.3",
    # Subtext Arena: prosody features are pre-computed and shipped as JSON.
    # No torch / librosa / whisper needed at RUNTIME — keeps the HF Space
    # image small and boot fast. The env reads cached prosody descriptors
    # straight from data/prosody_cache/ and renders them as text for the agent.
]

[project.optional-dependencies]
dev = [
    "pytest>=8.0.0",
    "pytest-cov>=4.0.0",
]

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

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

[tool.setuptools.package-data]
subtext_arena = [
    "data/sarcasm_data.json",
    "data/pivot_set.json",
    "data/prosody_cache/utterances/*.json",
    "data/prosody_cache/context/*.json",
    "openenv.yaml",
]