[project] name = "jwebmail" requires-python = "~= 3.9" authors = [ {name = "Jannis M. Hoffmann", email = "jannis@fehcom.de"} ] description = "" dynamic = ["version"] dependencies = [ "Flask", "Flask-Babel", "Flask-Login", "Flask-WTF", "flask-paginate", "email-validator", "redis", ] [build-system] requires = ["hatchling"] build-backend = "hatchling.build" [tool.hatch] [tool.hatch.version] path = "src/jwebmail/__init__.py" [tool.hatch.envs.dev] dependencies = [ "isort", "black", "pip-tools", "click", ] [tool.hatch.envs.dev.scripts] serve = "flask --app src/jwebmail --debug run --extra-files src/jwebmail/translations" tr-compile = "pybabel compile -d src/jwebmail/translations/" tr-extract = "pybabel extract -F babel.cfg -o messages.pot -k lazy_gettext src/ && pybabel update -i messages.pot -d src/jwebmail/translations/" [tool.hatch.build.targets.wheel] ignore-vcs = true sources = ["src"] include = [ "src/jwebmail/*.py", "src/jwebmail/model/*.py", "src/jwebmail/templates/*.html", "src/jwebmail/static/src/*.js", "src/jwebmail/static/css/*.css", "src/jwebmail/translations/*/LC_MESSAGES/messages.mo", ] [tool.isort] profile = "black" [tool.pip-tools] generate-hashes = true strip-extras = true