summaryrefslogtreecommitdiff
path: root/setup.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'setup.cfg')
-rw-r--r--setup.cfg81
1 files changed, 81 insertions, 0 deletions
diff --git a/setup.cfg b/setup.cfg
new file mode 100644
index 0000000..c07fad7
--- /dev/null
+++ b/setup.cfg
@@ -0,0 +1,81 @@
+# 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 repository server
+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
+ Environment :: Web Environment
+ Environment :: Console
+ Topic :: Internet :: WWW/HTTP :: WSGI
+ 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:
+include_package_data=True
+install_requires =
+ hydrilla.builder
+ flask
+ jsonschema
+
+[options.package_data]
+hydrilla.server = locales/*/LC_MESSAGES/messages.mo
+
+[options.extras_require]
+test = pytest
+setup = setuptools_scm
+
+[options.packages.find]
+where = src
+exclude =
+ test
+
+[options.entry_points]
+console_scripts =
+ hydrilla = hydrilla.server.serve:start
+
+[extract_messages]
+mapping_file = babel.cfg
+keywords = _ f_
+add_comments = TRANSLATORS:
+width = 80
+input_dirs = src/hydrilla
+output_file = src/hydrilla/server/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/server/locales/messages.pot
+output_dir = src/hydrilla/server/locales/
+domain = messages
+
+[update_catalog]
+input_file = src/hydrilla/server/locales/messages.pot
+output_dir = src/hydrilla/server/locales/
+domain = messages
+
+[compile_catalog]
+directory = src/hydrilla/server/locales
+use_fuzzy = True
+domain = messages