Vapt-env / pyproject.toml
Sayuj63's picture
Add journey/comparison/demo charts + push real model card to HF Hub
79d4df1
# 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"
# Only run tests from tests/ — avoids collecting repo-root __init__.py (package) as a module.
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["."]
[project]
name = "openenv-security_audit_env"
version = "0.1.0"
description = "Security Audit Env 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",
"openai>=1.0.0",
"python-dotenv>=1.0.0",
"wandb>=0.26.1",
"gradio>=6.11.0",
"matplotlib>=3.10.9",
]
[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 security_audit_env.server.app
server = "security_audit_env.server.app:main"
[tool.setuptools]
include-package-data = true
packages = [
"security_audit_env",
"security_audit_env.server",
"security_audit_env.server.tools_engine",
"security_audit_env.server.knowledge_base",
"security_audit_env.server.generator",
]
[tool.setuptools.package-dir]
"security_audit_env" = "."
"security_audit_env.server" = "server"
"security_audit_env.server.tools_engine" = "server/tools_engine"
"security_audit_env.server.knowledge_base" = "server/knowledge_base"
"security_audit_env.server.generator" = "server/generator"