feat: separate ses-test CLI install via subdirectory
Add cli/pyproject.toml so analysts can install only ses-test without the monitoring daemon or Zabbix integration. pip install "ses-test @ git+https://...#subdirectory=cli" → only ses-test binary, no ses-monitor in PATH Root pyproject.toml unchanged — daemon install still provides both. docs: rename section to 'Установка ses-test'
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
[build-system]
|
||||
requires = ["setuptools>=61.0"]
|
||||
build-backend = "setuptools.build_meta"
|
||||
|
||||
[project]
|
||||
name = "ses-test"
|
||||
version = "1.0.0"
|
||||
description = "CLI для пошагового тестирования YAML-сценариев SES"
|
||||
requires-python = ">=3.9"
|
||||
license = {text = "MIT"}
|
||||
authors = [
|
||||
{name = "SES Monitoring Team"}
|
||||
]
|
||||
classifiers = [
|
||||
"Development Status :: 4 - Beta",
|
||||
"Intended Audience :: Developers",
|
||||
"License :: OSI Approved :: MIT License",
|
||||
"Operating System :: OS Independent",
|
||||
"Programming Language :: Python :: 3",
|
||||
"Programming Language :: Python :: 3.9",
|
||||
"Topic :: Software Development :: Testing",
|
||||
]
|
||||
|
||||
dependencies = [
|
||||
"httpx>=0.21",
|
||||
"pyyaml>=5.4",
|
||||
]
|
||||
|
||||
[project.scripts]
|
||||
ses-test = "ses_monitor.cli:main"
|
||||
|
||||
[tool.setuptools.packages.find]
|
||||
where = ["../src"]
|
||||
include = ["ses_monitor*"]
|
||||
Reference in New Issue
Block a user