forked from SaiNivedh26/graphstrike
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
39 lines (35 loc) · 1.25 KB
/
pyproject.toml
File metadata and controls
39 lines (35 loc) · 1.25 KB
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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "graphstrike"
version = "1.0.0"
description = "OpenEnv RL environment for detecting coordinated fake account rings in social networks"
requires-python = ">=3.12"
dependencies = [
"fastapi>=0.110.0",
"uvicorn[standard]>=0.29.0",
"pydantic>=2.6.0",
"boto3>=1.34.0",
"botocore>=1.34.0",
"requests>=2.31.0",
"openenv-core>=0.2.0",
"gradio>=4.0.0",
"openai>=1.0.0",
]
[project.scripts]
# `uv run server` → starts the environment server (PORT env var, default 7860)
# `uv run generate-episodes` → regenerates the 150 synthetic episode JSON files
server = "server.app:main"
generate-episodes = "server.generator:main"
[tool.hatch.build.targets.wheel]
# Include server/ and agent/ packages.
# Root-level modules (models.py, bedrock_model.py, etc.) are on sys.path via
# server/app.py's sys.path.insert calls and uv's editable install.
packages = ["server", "agent"]
[tool.hatch.build.targets.wheel.force-include]
# Also pull in root-level modules that the server imports at runtime
"models.py" = "models.py"
"bedrock_model.py" = "bedrock_model.py"
"client.py" = "client.py"
"inference.py" = "inference.py"