# 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-textarena" version = "0.1.0" description = "TextArena environment for OpenEnv" requires-python = ">=3.10" dependencies = [ # Core OpenEnv dependencies (required for server functionality) "openenv-core @ git+https://github.com/meta-pytorch/OpenEnv.git@v0.2.1", "fastapi>=0.115.0", "pydantic>=2.0.0", "uvicorn>=0.24.0", "requests>=2.31.0", # 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", "textarena>=0.6.1", "nltk>=3.9.2", ] [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 textarena.server.app server = "textarena.server.app:main" [tool.setuptools] # Explicitly list packages - "textarena_env" maps to current dir packages = ["textarena_env", "textarena_env.server"] package-dir = {"textarena_env" = ".", "textarena_env.server" = "server"}