|
| 1 | +[build-system] |
| 2 | +requires = [ "poetry>=0.12",] |
| 3 | +build-backend = "poetry.masonry.api" |
| 4 | + |
1 | 5 | [tool.poetry] |
2 | 6 | name = "vaping" |
3 | | -version = "1.4.2" |
| 7 | +version = "1.4.3" |
4 | 8 | description = "vaping is a healthy alternative to smokeping!" |
5 | 9 | readme = "README.md" |
6 | 10 | repository = "https://github.com/20c/vaping" |
7 | | -authors = ["20C <code@20c.com>"] |
| 11 | +authors = [ "20C <code@20c.com>",] |
8 | 12 | license = "Apache-2.0" |
| 13 | +classifiers = [ "Development Status :: 5 - Production/Stable", "Environment :: No Input/Output (Daemon)", "Intended Audience :: System Administrators", "Intended Audience :: Telecommunications Industry", "License :: OSI Approved :: Apache Software License", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Topic :: Internet", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: System :: Monitoring", "Topic :: System :: Networking :: Monitoring",] |
| 14 | +[[tool.poetry.packages]] |
| 15 | +include = "vaping" |
| 16 | +from = "src" |
9 | 17 |
|
10 | | -classifiers = [ |
11 | | - "Development Status :: 5 - Production/Stable", |
12 | | - 'Environment :: No Input/Output (Daemon)', |
13 | | - 'Intended Audience :: System Administrators', |
14 | | - 'Intended Audience :: Telecommunications Industry', |
15 | | - 'License :: OSI Approved :: Apache Software License', |
16 | | - 'Programming Language :: Python :: 3.6', |
17 | | - 'Programming Language :: Python :: 3.7', |
18 | | - 'Programming Language :: Python :: 3.8', |
19 | | - 'Programming Language :: Python :: 3.9', |
20 | | - 'Topic :: Internet', |
21 | | - 'Topic :: Software Development :: Libraries :: Python Modules', |
22 | | - 'Topic :: System :: Monitoring', |
23 | | - 'Topic :: System :: Networking :: Monitoring', |
24 | | -] |
25 | | - |
26 | | -packages = [ |
27 | | - { include = "vaping", from = "src" }, |
28 | | -] |
| 18 | +[tool.isort] |
| 19 | +profile = "black" |
| 20 | +multi_line_output = 3 |
29 | 21 |
|
30 | 22 | [tool.poetry.scripts] |
31 | 23 | vaping = "vaping.cli:cli" |
32 | 24 |
|
33 | | - |
34 | 25 | [tool.poetry.dependencies] |
35 | 26 | python = "^3.6.2" |
36 | 27 | pid = "^3" |
37 | 28 | pluginmgr = "^1" |
38 | | -python-daemon= "^2" |
39 | | -munge = {extras = ["tomlkit", "yaml"], version = "^1.2.0"} |
| 29 | +python-daemon = "^2" |
40 | 30 | confu = "^1.7.1" |
41 | 31 |
|
42 | | -# plugins |
43 | | - |
44 | | -# graphite |
45 | | -requests = { version = "^2.19.1", optional = true } |
46 | | -graphyte = { version = "^1.4", optional = true } |
47 | | - |
48 | | -# rrdtool |
49 | | -rrdtool = { version = ">=0.1.14, <1", optional = true } |
50 | | - |
51 | | -# standalone |
52 | | -graphsrv = { version = "^2", optional = true } |
53 | | -vodka = { version = "^3.1", optional = true } |
54 | | - |
55 | | -# whisper |
56 | | -whisper = { version = ">=0.9.15, <2", optional = true } |
57 | | - |
58 | | -# zeromq |
59 | | -pyzmq = { version = ">=15.3.0, <19", optional = true } |
60 | | - |
61 | 32 | [tool.poetry.dev-dependencies] |
62 | | -# tests |
63 | 33 | codecov = "^2.1.10" |
64 | 34 | coverage = "^5.3" |
65 | 35 | pytest = "^6.1.2" |
66 | 36 | pytest-cov = "^2.10.1" |
67 | 37 | pytest-filedata = "^0.4.0" |
68 | 38 | tox = "^3.20.1" |
69 | | - |
70 | | -# linting |
71 | | -# bandit = "^1.6.2" |
72 | | -black = { version = ">=20", allow-prereleases = true } |
73 | 39 | isort = "^5.7.0" |
74 | 40 | flake8 = "^3.8.4" |
75 | 41 | pre-commit = "^2.13" |
76 | 42 | pyupgrade = "^2.19.4" |
77 | 43 | mypy = "^0.812" |
78 | | - |
79 | | -# ctl |
80 | 44 | ctl = "^1" |
81 | 45 | jinja2 = "^2.11.2" |
82 | 46 | tmpl = "^1" |
83 | 47 | twine = "^3.3.0" |
84 | | - |
85 | | -# docs |
86 | 48 | markdown-include = "^0.6.0" |
87 | 49 | mkdocs = "^1.1.2" |
88 | 50 | pymdgen = "^1" |
89 | 51 |
|
90 | 52 | [tool.poetry.extras] |
91 | | -graphite = ["graphyte", "requests"] |
92 | | -rrdtool = ["rrdtool"] |
93 | | -standalone = ["graphsrv", "vodka"] |
94 | | -whisper = ["whisper"] |
95 | | -zeromq = ["pyzmq"] |
96 | | - |
97 | | -# all extras |
98 | | -all = [ |
99 | | - "graphsrv", |
100 | | - "graphyte", |
101 | | - "pyzmq", |
102 | | - "rrdtool", |
103 | | - "requests", |
104 | | - "vodka", |
105 | | - "whisper", |
106 | | -] |
107 | | - |
108 | | -[tool.isort] |
109 | | -profile = "black" |
110 | | -multi_line_output = 3 |
111 | | - |
112 | | -[build-system] |
113 | | -requires = ["poetry>=0.12"] |
114 | | -build-backend = "poetry.masonry.api" |
| 53 | +graphite = [ "graphyte", "requests",] |
| 54 | +rrdtool = [ "rrdtool",] |
| 55 | +standalone = [ "graphsrv", "vodka",] |
| 56 | +whisper = [ "whisper",] |
| 57 | +zeromq = [ "pyzmq",] |
| 58 | +all = [ "graphsrv", "graphyte", "pyzmq", "rrdtool", "requests", "vodka", "whisper",] |
| 59 | + |
| 60 | +[tool.poetry.dependencies.munge] |
| 61 | +extras = [ "tomlkit", "yaml",] |
| 62 | +version = "^1.2.0" |
| 63 | + |
| 64 | +[tool.poetry.dependencies.requests] |
| 65 | +version = "^2.19.1" |
| 66 | +optional = true |
| 67 | + |
| 68 | +[tool.poetry.dependencies.graphyte] |
| 69 | +version = "^1.4" |
| 70 | +optional = true |
| 71 | + |
| 72 | +[tool.poetry.dependencies.rrdtool] |
| 73 | +version = ">=0.1.14, <1" |
| 74 | +optional = true |
| 75 | + |
| 76 | +[tool.poetry.dependencies.graphsrv] |
| 77 | +version = "^2" |
| 78 | +optional = true |
| 79 | + |
| 80 | +[tool.poetry.dependencies.vodka] |
| 81 | +version = "^3.1" |
| 82 | +optional = true |
| 83 | + |
| 84 | +[tool.poetry.dependencies.whisper] |
| 85 | +version = ">=0.9.15, <2" |
| 86 | +optional = true |
| 87 | + |
| 88 | +[tool.poetry.dependencies.pyzmq] |
| 89 | +version = ">=15.3.0, <19" |
| 90 | +optional = true |
| 91 | + |
| 92 | +[tool.poetry.dev-dependencies.black] |
| 93 | +version = ">=20" |
| 94 | +allow-prereleases = true |
0 commit comments