Added CLI as extra dependency

This commit is contained in:
Alex Root Junior 2023-08-16 22:00:11 +03:00
parent d0d0ff1be0
commit 5b17bd4393
No known key found for this signature in database
GPG key ID: 074C1D455EBEA4AC

View file

@ -64,6 +64,9 @@ proxy = [
i18n = [ i18n = [
"Babel~=2.12.1", "Babel~=2.12.1",
] ]
cli = [
"aiogram-cli~=1.0",
]
test = [ test = [
"pytest~=7.4.0", "pytest~=7.4.0",
"pytest-html~=3.2.0", "pytest-html~=3.2.0",
@ -114,6 +117,7 @@ features = [
"redis", "redis",
"proxy", "proxy",
"i18n", "i18n",
"cli",
] ]
post-install-commands = [ post-install-commands = [
"pre-commit install", "pre-commit install",
@ -133,6 +137,7 @@ features = [
"proxy", "proxy",
"i18n", "i18n",
"docs", "docs",
"cli",
] ]
[tool.hatch.envs.docs.scripts] [tool.hatch.envs.docs.scripts]
serve = "sphinx-autobuild --watch aiogram/ --watch CHANGELOG.rst --watch README.rst docs/ docs/_build/ {args}" serve = "sphinx-autobuild --watch aiogram/ --watch CHANGELOG.rst --watch README.rst docs/ docs/_build/ {args}"
@ -146,9 +151,10 @@ features = [
"proxy", "proxy",
"i18n", "i18n",
"test", "test",
"cli",
] ]
extra-dependencies = [ extra-dependencies = [
"butcher @ git+https://github.com/aiogram/butcher.git@v0.1.22" "butcher @ git+https://github.com/aiogram/butcher.git@v0.1.22",
] ]
[tool.hatch.envs.dev.scripts] [tool.hatch.envs.dev.scripts]
@ -165,6 +171,7 @@ features = [
"proxy", "proxy",
"i18n", "i18n",
"test", "test",
"cli",
] ]
[tool.hatch.envs.test.scripts] [tool.hatch.envs.test.scripts]