From 52d12a4fa124daa1595529e3e7008276a7986d95 Mon Sep 17 00:00:00 2001 From: Wojtek Kosior Date: Mon, 13 Jun 2022 11:06:49 +0200 Subject: unfinished partial work --- setup.cfg | 44 ++++++++++++++++++++++++++++---------------- 1 file changed, 28 insertions(+), 16 deletions(-) (limited to 'setup.cfg') diff --git a/setup.cfg b/setup.cfg index e18c8ae..16dc04e 100644 --- a/setup.cfg +++ b/setup.cfg @@ -8,7 +8,7 @@ name = hydrilla author = Wojtek Kosior author_email = koszko@koszko.org -description = Hydrilla repository server +description = Hydrilla&Haketilo custom website resources tools long_description = file: README.md long_description_content_type = text/markdown url = https://git.koszko.org/pydrilla @@ -19,9 +19,11 @@ 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 @@ -35,25 +37,35 @@ packages = find: include_package_data=True python_requires = >= 3.7 install_requires = - hydrilla.builder==1.1b1 - flask jsonschema>=3.0 + click + immutables [options.package_data] -hydrilla.server = locales/*/LC_MESSAGES/hydrilla-messages.mo +hydrilla = + locales/*/LC_MESSAGES/hydrilla-messages.mo + py.typed [options.extras_require] -test = pytest +test = pytest; flask setup = setuptools_scm; babel +builder = +server = flask +haketilo = mitmproxy; beautifulsoup4[html5lib] + +SPDX = reuse +all = reuse; flask; mitmproxy; beautifulsoup4 + [options.packages.find] where = src -exclude = - test [options.entry_points] console_scripts = hydrilla = hydrilla.server:start + hydrilla-server = hydrilla.server:start + hydrilla-builder = hydrilla.builder.build:perform + haketilo = hydrilla.proxy_launcher:start [extract_messages] mapping_file = babel.cfg @@ -61,22 +73,22 @@ keywords = _ f_ add_comments = TRANSLATORS: width = 80 input_dirs = src/hydrilla -output_file = src/hydrilla/server/locales/hydrilla-messages.pot +output_file = src/hydrilla/locales/messages.pot msgid_bugs_address = koszko@koszko.org sort_by_file = True copyright_holder = Wojtek Kosior [init_catalog] -input_file = src/hydrilla/server/locales/hydrilla-messages.pot -output_dir = src/hydrilla/server/locales/ -domain = hydrilla-messages +input_file = src/hydrilla/locales/messages.pot +output_dir = src/hydrilla/locales/ +domain = messages [update_catalog] -input_file = src/hydrilla/server/locales/hydrilla-messages.pot -output_dir = src/hydrilla/server/locales/ -domain = hydrilla-messages +input_file = src/hydrilla/locales/messages.pot +output_dir = src/hydrilla/locales/ +domain = messages [compile_catalog] -directory = src/hydrilla/server/locales +directory = src/hydrilla/locales use_fuzzy = True -domain = hydrilla-messages +domain = messages -- cgit v1.2.3