FitTrackee/pyproject.toml
2022-08-27 19:32:54 +02:00

94 lines
2.4 KiB
TOML

[tool.poetry]
name = "fittrackee"
version = "0.6.11"
description = "Self-hosted outdoor workout/activity tracker"
authors = ["SamR1"]
license = "AGPL-3.0"
readme = "README.md"
homepage = "https://github.com/SamR1/FitTrackee"
documentation = "https://samr1.github.io/FitTrackee"
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Web Environment",
"Framework :: Flask",
"License :: OSI Approved :: GNU Affero General Public License v3",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: JavaScript"
]
exclude = ["fittrackee/tests"]
[tool.poetry.dependencies]
python = "^3.7"
dramatiq = {version = "^1.13", extras = ["redis"]}
flask = "^2.1"
flask-bcrypt = "^1.0"
flask-dramatiq = "^0.6.0"
flask-migrate = "^3.1"
gpxpy = "=1.5.0"
gunicorn = "^20.1"
humanize = "^4.3"
psycopg2-binary = "^2.9"
pyjwt = "^2.4"
python-forecastio = "^1.4"
pytz = "^2022.2"
shortuuid = "^1.0.9"
staticmap = "^0.5.4"
SQLAlchemy = "1.4.40"
pyOpenSSL = "^22.0"
ua-parser = "^0.16.1"
Babel = "^2.10.3"
Werkzeug = "2.1" # removal of parse_rule in 2.2 breaks sphinxcontrib-httpdomain autoflask
Authlib = "^1.0.1"
[tool.poetry.dev-dependencies]
black = "^22.6"
freezegun = "^1.2"
mypy = "^0.971"
pytest = "^7.1"
pytest-black = "^0.3.12"
pytest-cov = "^3.0"
pytest-flake8 = "^1.1"
pytest-isort = "^3.0"
pytest-runner = "^6.0"
pytest-selenium = "^2.0.1"
recommonmark = "^0.7"
sphinx-bootstrap-theme = "^0.8.1"
sphinxcontrib-httpdomain = "^1.7"
types-pytz = "^2022.2"
types-requests = "^2.28"
types-freezegun = "^1.1"
Sphinx = "^5.1"
bandit = "^1.7.4"
[tool.poetry.scripts]
fittrackee = 'fittrackee.__main__:main'
fittrackee_worker = 'flask_dramatiq:worker'
ftcli = 'fittrackee.cli:cli'
fittrackee_set_admin = 'fittrackee.__main__:set_admin' # deprecated
fittrackee_upgrade_db = 'fittrackee.__main__:upgrade_db' # deprecated
[tool.black]
line-length = 79
skip-string-normalization = true
target-version = ["py37", "py38"]
include = ".py$"
exclude = "migrations"
[tool.isort]
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
combine_as_imports = true
[tool.bandit]
exclude_dirs = ["fittrackee/tests/*", "fittrackee/migrations/*"]
[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"