Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
130 lines (115 loc) · 3.25 KB
/
Copy pathpyproject.toml
File metadata and controls
130 lines (115 loc) · 3.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
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
[project]
name = "strands-agents-mcp-server"
dynamic = ["version"]
description = "A Model Context Protocol server that provides knowledge about building AI agents with Strands Agents"
readme = "README.md"
requires-python = ">=3.10"
license = {text = "Apache-2.0"}
license-files = ["LICENSE", "NOTICE"]
authors = [
{name = "AWS", email = "opensource@amazon.com"},
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Software Development :: Libraries :: Python Modules",
]
dependencies = [
"mcp>=1.1.3,<2.2",
"pydantic>=2.0.0",
]
[project.scripts]
strands-agents-mcp-server = "strands_mcp_server.server:main"
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[tool.hatch.metadata]
allow-direct-references = true
[tool.hatch.version]
source = "vcs"
raw-options.root = ".."
raw-options.tag_regex = "^mcp/v(?P<version>.+)$"
raw-options.git_describe_command = ["git", "describe", "--dirty", "--tags", "--long", "--match", "mcp/v*"]
[project.urls]
Homepage = "https://github.com/strands-agents/harness-sdk"
"Bug Tracker" = "https://github.com/strands-agents/harness-sdk/issues"
Documentation = "https://strandsagents.com"
[project.optional-dependencies]
dev = [
"commitizen>=4.4.0",
"hatch>=1.0.0",
"packaging>=23.0,<27.0.0",
"pre-commit>=2.20.0",
"pytest>=9.0.0",
"pytest-timeout>=2.0.0",
"ruff>=0.4.4",
"tomli>=2.0.0,<3.0.0; python_version < '3.11'",
]
[tool.hatch.build.targets.wheel]
packages = ["src/strands_mcp_server"]
[tool.hatch.envs.hatch-static-analysis]
dependencies = [
"mcp>=1.1.3,<2.2",
"pydantic>=2.0.0",
"ruff>=0.4.4",
]
[tool.hatch.envs.hatch-static-analysis.scripts]
format-check = [
"ruff format --check"
]
format-fix = [
"ruff format"
]
lint-check = [
"ruff check"
]
lint-fix = [
"ruff check --fix"
]
[tool.hatch.envs.default]
features = ["dev"]
[tool.hatch.envs.default.scripts]
list = [
"echo 'Scripts commands available for default env:'; hatch env show --json | jq --raw-output '.default.scripts | keys[]'"
]
format = [
"hatch fmt --formatter",
]
lint = [
"hatch fmt --linter"
]
test = ["pytest tests/ {args}"]
test-integ = ["pytest tests_integ/ -v --timeout=60 {args}"]
test-all = ["pytest tests/ tests_integ/ {args}"]
[tool.ruff]
line-length = 120
include = ["src/**/*.py", "tests/**/*.py", "tests_integ/**/*.py"]
[tool.ruff.lint]
select = [
"E", # pycodestyle
"F", # pyflakes
"I", # isort
"B", # flake8-bugbear
]
[tool.commitizen]
name = "cz_conventional_commits"
tag_format = "v$version"
bump_message = "chore(release): bump version $current_version -> $new_version"
version_files = [
"pyproject.toml:version",
]
update_changelog_on_bump = true
[tool.pytest.ini_options]
testpaths = ["tests"]
markers = [
"integ: integration tests that hit the network",
]