-
-
Notifications
You must be signed in to change notification settings - Fork 58
/
pyproject.toml
104 lines (94 loc) · 2.82 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
[project]
name = "pyngrok"
dynamic = ["version"]
description = "A Python wrapper for ngrok."
readme = "README.md"
license = { file = "LICENSE" }
maintainers = [{ name = "Alex Laird", email = "[email protected]" }]
requires-python = ">=3.8"
dependencies = [
"PyYAML>=5.1"
]
classifiers = [
"Development Status :: 6 - Mature",
"Environment :: Console",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: MacOS",
"Operating System :: Microsoft :: Windows",
"Operating System :: OS Independent",
"Operating System :: POSIX",
"Operating System :: POSIX :: BSD :: FreeBSD",
"Operating System :: POSIX :: Linux",
"Operating System :: Unix",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Database :: Database Engines/Servers",
"Topic :: Internet :: Proxy Servers",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
"Topic :: Internet :: WWW/HTTP :: HTTP Servers",
"Topic :: Software Development :: Build Tools",
"Topic :: Software Development :: Testing",
"Topic :: Software Development :: Libraries :: Python Modules",
]
[project.optional-dependencies]
dev = [
"coverage[toml]",
"psutil",
"flake8",
"flake8-pyproject",
"pep8-naming"
]
docs = [
"Sphinx",
"sphinx-notfound-page",
"sphinx_autodoc_typehints==1.25.2",
"sphinx-substitution-extensions",
"mypy",
"types-PyYAML"
]
[project.scripts]
ngrok = "pyngrok.ngrok:main"
pyngrok = "pyngrok.ngrok:main"
[project.urls]
Changelog = "https://github.com/alexdlaird/pyngrok/blob/main/CHANGELOG.md"
Documentation = "https://pyngrok.readthedocs.io"
Sponsor = "https://github.com/sponsors/alexdlaird"
"Source Code" = "https://github.com/alexdlaird/pyngrok"
[tool.setuptools]
package-dir = { pyngrok = "pyngrok" }
[tool.setuptools.dynamic]
version = { attr = "pyngrok.__version__" }
[tool.coverage.run]
omit = [
"venv/**",
"*/tests/**"
]
[tool.coverage.report]
precision = 2
exclude_lines = [
"pragma: no cover",
"def __repr__",
"if self.debug",
"if settings.DEBUG",
"raise AssertionError",
"raise NotImplementedError",
"if 0:",
"if __name__ == .__main__.:",
]
[tool.coverage.xml]
output = "build/coverage/coverage.xml"
[tool.coverage.html]
title = "Coverage Report"
directory = "build/coverage"
[tool.flake8]
max-line-length = 119
statistics = true
exclude = "docs/*,venv/*,build/*,dist/*,.egg-info/*,pyngrok-example-flask/*"