build: Add optional dependency groups and clean up pyproject.toml
- Add neural optional group (torch, torch-geometric, tensorboard) - Add gnn optional group (torch, torch-geometric) - Add all optional group for convenience - Remove mcp optional group (not implemented) - Remove mcp_server from packages.find - Update pytest coverage config 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -35,8 +35,15 @@ dev = [
|
|||||||
"pre-commit>=3.6.0",
|
"pre-commit>=3.6.0",
|
||||||
]
|
]
|
||||||
|
|
||||||
mcp = [
|
neural = [
|
||||||
"mcp>=0.1.0",
|
"torch>=2.0.0",
|
||||||
|
"torch-geometric>=2.3.0",
|
||||||
|
"tensorboard>=2.13.0",
|
||||||
|
]
|
||||||
|
|
||||||
|
gnn = [
|
||||||
|
"torch>=2.0.0",
|
||||||
|
"torch-geometric>=2.3.0",
|
||||||
]
|
]
|
||||||
|
|
||||||
dashboard = [
|
dashboard = [
|
||||||
@@ -44,13 +51,17 @@ dashboard = [
|
|||||||
"dash-bootstrap-components>=1.5.0",
|
"dash-bootstrap-components>=1.5.0",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
all = [
|
||||||
|
"atomizer[neural,gnn,dev,dashboard]",
|
||||||
|
]
|
||||||
|
|
||||||
[build-system]
|
[build-system]
|
||||||
requires = ["setuptools>=68.0", "wheel"]
|
requires = ["setuptools>=68.0", "wheel"]
|
||||||
build-backend = "setuptools.build_meta"
|
build-backend = "setuptools.build_meta"
|
||||||
|
|
||||||
[tool.setuptools.packages.find]
|
[tool.setuptools.packages.find]
|
||||||
where = ["."]
|
where = ["."]
|
||||||
include = ["mcp_server*", "optimization_engine*", "nx_journals*"]
|
include = ["optimization_engine*", "nx_journals*"]
|
||||||
|
|
||||||
[tool.black]
|
[tool.black]
|
||||||
line-length = 100
|
line-length = 100
|
||||||
@@ -73,4 +84,4 @@ testpaths = ["tests"]
|
|||||||
python_files = ["test_*.py"]
|
python_files = ["test_*.py"]
|
||||||
python_classes = ["Test*"]
|
python_classes = ["Test*"]
|
||||||
python_functions = ["test_*"]
|
python_functions = ["test_*"]
|
||||||
addopts = "-v --cov=mcp_server --cov=optimization_engine --cov-report=html --cov-report=term"
|
addopts = "-v --cov=optimization_engine --cov-report=html --cov-report=term"
|
||||||
|
|||||||
Reference in New Issue
Block a user