mirror of
https://github.com/openai/codex.git
synced 2026-05-15 00:32:51 +00:00
Make the Python SDK declare its published runtime package dependency directly and resolve the runtime version from that pin instead of inferring it from the SDK package version. Co-authored-by: Codex <noreply@openai.com>
73 lines
1.9 KiB
TOML
73 lines
1.9 KiB
TOML
[build-system]
|
|
requires = ["hatchling>=1.24.0"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[project]
|
|
name = "openai-codex-app-server-sdk"
|
|
version = "0.131.0a4"
|
|
description = "Python SDK for Codex app-server v2"
|
|
readme = "README.md"
|
|
requires-python = ">=3.10"
|
|
license = { text = "Apache-2.0" }
|
|
authors = [{ name = "OpenClaw Assistant" }]
|
|
keywords = ["codex", "json-rpc", "sdk", "llm", "app-server"]
|
|
classifiers = [
|
|
"Development Status :: 4 - Beta",
|
|
"Intended Audience :: Developers",
|
|
"License :: OSI Approved :: Apache Software License",
|
|
"Programming Language :: Python :: 3",
|
|
"Programming Language :: Python :: 3.10",
|
|
"Programming Language :: Python :: 3.11",
|
|
"Programming Language :: Python :: 3.12",
|
|
"Programming Language :: Python :: 3.13",
|
|
"Topic :: Software Development :: Libraries :: Python Modules",
|
|
]
|
|
dependencies = ["pydantic>=2.12", "openai-codex-cli-bin==0.131.0a4"]
|
|
|
|
[project.urls]
|
|
Homepage = "https://github.com/openai/codex"
|
|
Repository = "https://github.com/openai/codex"
|
|
Issues = "https://github.com/openai/codex/issues"
|
|
|
|
[project.optional-dependencies]
|
|
dev = ["pytest>=8.0", "datamodel-code-generator==0.31.2", "ruff>=0.11"]
|
|
|
|
[tool.hatch.build]
|
|
exclude = [
|
|
".venv/**",
|
|
".venv2/**",
|
|
".pytest_cache/**",
|
|
"dist/**",
|
|
"build/**",
|
|
]
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["src/codex_app_server"]
|
|
include = [
|
|
"src/codex_app_server/py.typed",
|
|
]
|
|
|
|
[tool.hatch.build.targets.sdist]
|
|
include = [
|
|
"src/codex_app_server/**",
|
|
"README.md",
|
|
"CHANGELOG.md",
|
|
"CONTRIBUTING.md",
|
|
"RELEASE_CHECKLIST.md",
|
|
"pyproject.toml",
|
|
]
|
|
|
|
[tool.pytest.ini_options]
|
|
addopts = "-q"
|
|
testpaths = ["tests"]
|
|
|
|
[tool.uv]
|
|
exclude-newer = "7 days"
|
|
exclude-newer-package = { openai-codex-cli-bin = "2026-05-10T00:00:00Z" }
|
|
index-strategy = "first-index"
|
|
|
|
[tool.uv.pip]
|
|
exclude-newer = "7 days"
|
|
exclude-newer-package = { openai-codex-cli-bin = "2026-05-10T00:00:00Z" }
|
|
index-strategy = "first-index"
|