aboutsummaryrefslogtreecommitdiff
# 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