aboutsummaryrefslogtreecommitdiff
path: root/setup.cfg
blob: 46dc8099cad0699176b3832086aac75adac9e545 (plain)
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
# SPDX-License-Identifier: CC0-1.0

# Copyright (C) 2022 Wojtek Kosior <koszko@koszko.org>
#
# Available under the terms of Creative Commons Zero v1.0 Universal.

[metadata]
name = hydrilla
author = Wojtek Kosior
author_email = koszko@koszko.org
description = Hydrilla&Haketilo custom website resources tools
long_description = file: README.md
long_description_content_type = text/markdown
url = https://git.koszko.org/pydrilla
project_urls =
    Bug Tracker = https://hydrillabugs.koszko.org/projects/hydrilla
keywords = hydrilla, haketilo
license = AGPL-3.0-or-later
classifiers =
    Development Status :: 4 - Beta
    Intended Audience :: Developers
    Intended Audience :: End Users/Desktop
    Environment :: Web Environment
    Environment :: Console
    Topic :: Internet :: WWW/HTTP :: WSGI
    Topic :: Internet :: Proxy Servers
    License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)
    Natural Language :: English
    Operating System :: OS Independent
    Programming Language :: Python :: 3 :: Only

[options]
zip_safe = False
package_dir =
    = src
packages = find_namespace:
include_package_data=True
python_requires = >= 3.7
install_requires =
    jsonschema>=3.0
    click
    immutables>=0.16

[options.package_data]
hydrilla =
    locales/*/LC_MESSAGES/messages.mo
    py.typed
    **/*.jinja

[options.extras_require]
test = pytest; flask
setup = setuptools_scm; babel

builder = gnupg
server = flask>=1.1
haketilo =
    flask>=1.1
    itsdangerous
    mitmproxy>=8.0,<9
    beautifulsoup4[html5lib]
    requests

SPDX = reuse
all = reuse; flask>=1.1; mitmproxy>=8.0,<9; beautifulsoup4[html5lib]; gnupg

[options.packages.find]
where = src

[options.entry_points]
console_scripts =
    hydrilla = hydrilla.server:start
    hydrilla-server = hydrilla.server:start
    hydrilla-builder = hydrilla.builder.build:perform
    haketilo = hydrilla.mitmproxy_launcher.launch:launch

[extract_messages]
mapping_file = babel.cfg
keywords = _ f_
add_comments = TRANSLATORS:
width = 80
input_dirs = src/hydrilla
output_file = src/hydrilla/locales/messages.pot
msgid_bugs_address = koszko@koszko.org
sort_by_file = True
copyright_holder = Wojtek Kosior <koszko@koszko.org>

[init_catalog]
input_file = src/hydrilla/locales/messages.pot
output_dir = src/hydrilla/locales/
domain = messages

[update_catalog]
input_file = src/hydrilla/locales/messages.pot
output_dir = src/hydrilla/locales/
domain = messages

[compile_catalog]
directory = src/hydrilla/locales
use_fuzzy = True
domain = messages