-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
75 lines (68 loc) · 2.07 KB
/
setup.cfg
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
[metadata]
name = pyhp-core
version = attr: pyhp.__version__
description = Package for embedding and using python code like php
license = GPLv3
license_file = LICENSE
long_description = file: README.md
long_description_content_type = text/markdown
author = Eric Wolf
author_email = [email protected]
maintainer = Eric Wolf
maintainer_email = [email protected]
url = https://github.com/Deric-W/PyHP
classifiers =
Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Operating System :: Microsoft :: Windows
Operating System :: POSIX
Intended Audience :: Developers
Topic :: Internet :: WWW/HTTP :: Dynamic Content :: CGI Tools/Libraries
Topic :: Internet :: WWW/HTTP :: WSGI :: Application
Topic :: Software Development :: Interpreters
Topic :: Text Processing :: Markup :: HTML
Typing :: Typed
License :: OSI Approved :: GNU General Public License v3 (GPLv3)
[options]
packages =
pyhp
pyhp.compiler
pyhp.backends
pyhp.backends.caches
pyhp.backends.caches.timestamped
pyhp.wsgi
pyhp.wsgi.interfaces
python_requires = >=3.7
[options.extras_require]
CONFIG = toml >= 0.10.0
PHP = werkzeug >= 0.14.0
[options.package_data]
pyhp = py.typed
[options.entry_points]
console_scripts =
pyhp = pyhp.main:cli_main [CONFIG,PHP]
pyhp-cli = pyhp.main:cli_main [CONFIG,PHP]
pyhp-cgi = pyhp.main:cgi_main [CONFIG,PHP]
pyhp-backend = pyhp.backends.main:main [CONFIG]
[coverage:run]
source = pyhp
omit = tests/*
[mypy]
disallow_redefinition = True
warn_unreachable = True
warn_redundant_casts = True
warn_unused_configs = True
warn_unused_ignores = True
disallow_subclassing_any = True
disallow_any_generics = False
ignore_missing_imports = True
no_implicit_reexport = True
check_untyped_defs = True
disallow_untyped_defs = True
no_implicit_optional = True
[mypy-pyhp.wsgi.interfaces.php]
# the type: ignore is needed because CI fails somehow (but not local tests?)
warn_unused_ignores = False