mirror of
https://github.com/ep1cman/unifi-protect-backup.git
synced 2025-12-05 23:53:30 +00:00
111 lines
3.0 KiB
TOML
111 lines
3.0 KiB
TOML
[tool]
|
|
[tool.poetry]
|
|
name = "unifi-protect-backup"
|
|
version = "0.1.0"
|
|
homepage = "https://github.com/ep1cman/unifi-protect-backup"
|
|
description = "Python tool to backup unifi event clips in realtime."
|
|
authors = ["sebastian.goscik <sebastian@goscik.com>"]
|
|
readme = "README.md"
|
|
license = "MIT"
|
|
classifiers=[
|
|
'Development Status :: 2 - Pre-Alpha',
|
|
'Intended Audience :: Developers',
|
|
'License :: OSI Approved :: MIT License',
|
|
'Natural Language :: English',
|
|
'Programming Language :: Python :: 3',
|
|
'Programming Language :: Python :: 3.7',
|
|
'Programming Language :: Python :: 3.8',
|
|
'Programming Language :: Python :: 3.9',
|
|
]
|
|
packages = [
|
|
{ include = "unifi_protect_backup" },
|
|
{ include = "tests", format = "sdist" },
|
|
]
|
|
|
|
[tool.poetry.dependencies]
|
|
python = ">=3.7.0,<4.0"
|
|
click = "8.0.1"
|
|
|
|
black = { version = "^21.5b2", optional = true}
|
|
isort = { version = "^5.8.0", optional = true}
|
|
flake8 = { version = "^3.9.2", optional = true}
|
|
flake8-docstrings = { version = "^1.6.0", optional = true }
|
|
mypy = {version = "^0.900", optional = true}
|
|
pytest = { version = "^6.2.4", optional = true}
|
|
pytest-cov = { version = "^2.12.0", optional = true}
|
|
tox = { version = "^3.20.1", optional = true}
|
|
virtualenv = { version = "^20.2.2", optional = true}
|
|
pip = { version = "^20.3.1", optional = true}
|
|
mkdocs = { version = "^1.1.2", optional = true}
|
|
mkdocs-include-markdown-plugin = { version = "^1.0.0", optional = true}
|
|
mkdocs-material = { version = "^6.1.7", optional = true}
|
|
mkdocstrings = { version = "^0.15.2", optional = true}
|
|
mkdocs-material-extensions = { version = "^1.0.1", optional = true}
|
|
twine = { version = "^3.3.0", optional = true}
|
|
mkdocs-autorefs = {version = "^0.2.1", optional = true}
|
|
pre-commit = {version = "^2.12.0", optional = true}
|
|
toml = {version = "^0.10.2", optional = true}
|
|
bump2version = {version = "^1.0.1", optional = true}
|
|
tox-asdf = {version = "^0.1.0", optional = true}
|
|
pyunifiprotect = "^3.2.1"
|
|
|
|
[tool.poetry.extras]
|
|
test = [
|
|
"pytest",
|
|
"black",
|
|
"isort",
|
|
"mypy",
|
|
"flake8",
|
|
"flake8-docstrings",
|
|
"pytest-cov"
|
|
]
|
|
|
|
dev = ["tox", "pre-commit", "virtualenv", "pip", "twine", "toml", "bump2version", "tox-asdf"]
|
|
|
|
doc = [
|
|
"mkdocs",
|
|
"mkdocs-include-markdown-plugin",
|
|
"mkdocs-material",
|
|
"mkdocstrings",
|
|
"mkdocs-material-extension",
|
|
"mkdocs-autorefs"
|
|
]
|
|
|
|
[tool.poetry.scripts]
|
|
unifi-protect-backup = 'unifi_protect_backup.cli:main'
|
|
|
|
[tool.black]
|
|
line-length = 120
|
|
skip-string-normalization = true
|
|
target-version = ['py37', 'py38']
|
|
include = '\.pyi?$'
|
|
exclude = '''
|
|
/(
|
|
\.eggs
|
|
| \.git
|
|
| \.hg
|
|
| \.mypy_cache
|
|
| \.tox
|
|
| \.venv
|
|
| _build
|
|
| buck-out
|
|
| build
|
|
| dist
|
|
)/
|
|
'''
|
|
|
|
[tool.isort]
|
|
multi_line_output = 3
|
|
include_trailing_comma = true
|
|
force_grid_wrap = 0
|
|
use_parentheses = true
|
|
ensure_newline_before_comments = true
|
|
line_length = 120
|
|
skip_gitignore = true
|
|
# you can skip files as below
|
|
#skip_glob = docs/conf.py
|
|
|
|
[build-system]
|
|
requires = ["poetry-core>=1.0.0"]
|
|
build-backend = "poetry.core.masonry.api"
|