summaryrefslogtreecommitdiff
path: root/setup.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'setup.cfg')
-rw-r--r--setup.cfg72
1 files changed, 72 insertions, 0 deletions
diff --git a/setup.cfg b/setup.cfg
new file mode 100644
index 0000000..220d8fe
--- /dev/null
+++ b/setup.cfg
@@ -0,0 +1,72 @@
+# 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 = koszko_org_website
+author = Wojtek Kosior
+author_email = koszko@koszko.org
+description = koszko.org website
+long_description = file: README.md
+long_description_content_type = text/markdown
+url = https://git.koszko.org/koszko-org-website
+keywords = koszko.org
+license = CC0-1.0
+classifiers =
+ Development Status :: 5 - Production/Stable
+ Intended Audience :: Developers
+ Environment :: Web Environment
+ Topic :: Internet :: WWW/HTTP :: WSGI
+ License :: CC0 1.0 Universal (CC0 1.0) Public Domain Dedication
+ Natural Language :: English
+ Natural Language :: Polish
+ Operating System :: OS Independent
+ Programming Language :: Python :: 3 :: Only
+ Private :: Do Not Upload
+
+[options]
+zip_safe = False
+package_dir =
+ = src
+packages = find_namespace:
+include_package_data=True
+python_requires = >= 3.7
+install_requires =
+ flask>=1.1
+
+[options.package_data]
+koszko_org_website =
+ locales/*/LC_MESSAGES/messages.mo
+ py.typed
+ **/*.jinja
+
+[options.packages.find]
+where = src
+
+[extract_messages]
+mapping_file = babel.cfg
+keywords = _ f_
+add_comments = TRANSLATORS:
+width = 80
+input_dirs = src/koszko_org_website
+output_file = src/koszko_org_website/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/koszko_org_website/locales/messages.pot
+output_dir = src/koszko_org_website/locales/
+domain = messages
+
+[update_catalog]
+input_file = src/koszko_org_website/locales/messages.pot
+output_dir = src/koszko_org_website/locales/
+domain = messages
+
+[compile_catalog]
+directory = src/koszko_org_website/locales
+use_fuzzy = True
+domain = messages