-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathpyproject.toml
More file actions
64 lines (58 loc) · 2 KB
/
Copy pathpyproject.toml
File metadata and controls
64 lines (58 loc) · 2 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
# Packaging for becwright. Target Python 3.10+.
# Minimal dependencies on purpose: only pyyaml (project convention).
[build-system]
requires = ["setuptools>=61"]
build-backend = "setuptools.build_meta"
[project]
name = "becwright"
version = "1.0.0"
description = "The enforcement layer for AI coding agents — deterministic, portable constraints (BECs) that block a commit when a rule breaks, for AI-written and human-written code."
readme = "README.md"
requires-python = ">=3.10"
authors = [{ name = "Alonso David De Leon Rodarte" }]
license = { text = "MIT" }
keywords = [
"git-hooks",
"pre-commit",
"lint",
"linter",
"code-quality",
"code-review",
"static-analysis",
"constraints",
"ai-agents",
"claude-code",
"developer-tools",
"bec",
]
dependencies = ["pyyaml>=6"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"License :: OSI Approved :: MIT License",
"Environment :: Console",
"Intended Audience :: Developers",
"Operating System :: POSIX",
"Topic :: Software Development :: Quality Assurance",
]
# The global command. `pipx install .` makes `becwright` available on PATH.
[project.scripts]
becwright = "becwright.cli:main"
[project.optional-dependencies]
# jsonschema is test-only: it validates schema/rules.schema.json against examples.
dev = ["pytest>=8", "pytest-cov>=5", "mcp>=1.2", "jsonschema>=4"]
# Used to freeze the standalone binary distributed via npm (see packaging/).
build = ["pyinstaller>=6"]
# MCP server for AI agents: `becwright mcp` (see src/becwright/mcp_server.py).
mcp = ["mcp>=1.2"]
[tool.setuptools.packages.find]
where = ["src"]
# Ship the BEC catalog inside the wheel so `becwright add` works offline.
[tool.setuptools.package-data]
becwright = ["becs/*.bec.yaml"]
[tool.pytest.ini_options]
pythonpath = ["src"]
testpaths = ["tests"]