Cyber_analyst-round1 / pyproject.toml
Humanlearning's picture
feat: enhance scenario authoring and caching mechanisms, update action submission terminology, and improve reward configuration for CyberSecurity_OWASP environment
be8eade
# 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-CyberSecurity_OWASP"
version = "0.1.0"
description = "Cybersecurity Owasp 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.2",
"trackio>=0.22.0",
"PyYAML>=6.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",
]
[project.optional-dependencies]
dev = [
"pytest>=8.0.0",
"pytest-cov>=4.0.0",
]
modal = [
"modal>=1.1.0",
]
[project.scripts]
# Server entry point - enables running via: uv run --project . server
# or: python -m CyberSecurity_OWASP.server.app
server = "CyberSecurity_OWASP.server.app:main"
[tool.setuptools]
include-package-data = true
packages = ["CyberSecurity_OWASP", "CyberSecurity_OWASP.server", "training"]
package-dir = { "CyberSecurity_OWASP" = ".", "CyberSecurity_OWASP.server" = "server" }
[tool.setuptools.package-data]
CyberSecurity_OWASP = ["configs/*.json"]
training = ["configs/*.yaml"]
[tool.pytest.ini_options]
testpaths = ["tests"]
norecursedirs = [
".git",
".venv",
"__pycache__",
"codex_tmp_tf",
"outputs",
"openenv_CyberSecurity_OWASP.egg-info",
]