2020-09-16 15:41:02 +02:00
|
|
|
[tool.poetry]
|
|
|
|
name = "fittrackee"
|
2023-09-14 13:43:58 +02:00
|
|
|
version = "0.7.23"
|
2020-09-19 13:56:14 +02:00
|
|
|
description = "Self-hosted outdoor workout/activity tracker"
|
2020-09-16 18:58:11 +02:00
|
|
|
authors = ["SamR1"]
|
2021-12-19 15:59:39 +01:00
|
|
|
license = "AGPL-3.0"
|
2020-09-16 18:58:11 +02:00
|
|
|
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",
|
2021-11-14 21:25:56 +01:00
|
|
|
"License :: OSI Approved :: GNU Affero General Public License v3",
|
2020-09-16 18:58:11 +02:00
|
|
|
"Operating System :: POSIX :: Linux",
|
|
|
|
"Programming Language :: Python :: 3",
|
|
|
|
"Programming Language :: Python :: 3.8",
|
2020-12-25 19:14:37 +01:00
|
|
|
"Programming Language :: Python :: 3.9",
|
2021-11-14 21:25:56 +01:00
|
|
|
"Programming Language :: Python :: 3.10",
|
2022-11-01 16:02:19 +01:00
|
|
|
"Programming Language :: Python :: 3.11",
|
2020-09-16 18:58:11 +02:00
|
|
|
"Programming Language :: JavaScript"
|
|
|
|
]
|
|
|
|
exclude = ["fittrackee/tests"]
|
2020-09-16 15:41:02 +02:00
|
|
|
|
|
|
|
[tool.poetry.dependencies]
|
2023-06-14 20:58:47 +02:00
|
|
|
python = "^3.8.1"
|
2023-07-14 19:23:29 +02:00
|
|
|
authlib = "=1.2.1"
|
2022-11-01 16:02:19 +01:00
|
|
|
babel = "^2.11.0"
|
2023-02-16 09:33:03 +01:00
|
|
|
dramatiq = {version = "^1.14", extras = ["redis"]}
|
2023-10-02 12:17:28 +02:00
|
|
|
flask = "^3.0"
|
2022-04-03 11:36:21 +02:00
|
|
|
flask-bcrypt = "^1.0"
|
2023-02-16 09:33:03 +01:00
|
|
|
flask-dramatiq = "^0.6"
|
2023-09-14 11:11:20 +02:00
|
|
|
flask-limiter = {version = "^3.5", extras = ["redis"]}
|
2022-11-26 12:54:56 +01:00
|
|
|
flask-migrate = "^4.0"
|
2022-06-11 13:10:02 +02:00
|
|
|
gpxpy = "=1.5.0"
|
2023-07-22 09:09:10 +02:00
|
|
|
gunicorn = "^21.0"
|
2023-07-14 19:23:29 +02:00
|
|
|
humanize = "^4.7"
|
2021-07-03 11:17:38 +02:00
|
|
|
psycopg2-binary = "^2.9"
|
2023-07-22 09:09:10 +02:00
|
|
|
pyjwt = "^2.8"
|
2023-06-03 09:57:49 +02:00
|
|
|
pyopenssl = "^23.2"
|
2023-04-08 08:54:06 +02:00
|
|
|
pytz = "^2023.3"
|
2022-11-26 12:54:56 +01:00
|
|
|
shortuuid = "^1.0.11"
|
2023-08-19 08:50:37 +02:00
|
|
|
staticmap = "^0.5.7"
|
2023-07-14 19:23:29 +02:00
|
|
|
sqlalchemy = "=1.4.49"
|
|
|
|
ua-parser = "^0.18.0"
|
2020-09-16 15:41:02 +02:00
|
|
|
|
2022-12-21 09:03:40 +01:00
|
|
|
[tool.poetry.group.dev.dependencies]
|
2023-04-08 08:54:06 +02:00
|
|
|
bandit = "^1.7.5"
|
2023-09-14 11:11:20 +02:00
|
|
|
black = "^23.9"
|
2023-07-30 08:33:17 +02:00
|
|
|
flake8 = "^6.1" # requires Python >=3.8.1
|
2022-03-27 09:33:59 +02:00
|
|
|
freezegun = "^1.2"
|
2023-09-14 11:11:20 +02:00
|
|
|
furo = "^2023.9"
|
2023-08-19 08:50:37 +02:00
|
|
|
mypy = "^1.5"
|
2023-06-24 19:59:12 +02:00
|
|
|
pytest = "^7.4"
|
2023-02-16 09:33:03 +01:00
|
|
|
pytest-black = "^0.3"
|
2023-06-14 20:58:47 +02:00
|
|
|
pytest-cov = "^4.1"
|
2023-09-14 11:11:20 +02:00
|
|
|
pytest-html = "3.2.0"
|
2022-11-01 16:02:19 +01:00
|
|
|
pytest-isort = "^3.1"
|
2022-03-27 09:33:59 +02:00
|
|
|
pytest-runner = "^6.0"
|
2023-06-14 20:58:47 +02:00
|
|
|
pytest-selenium = "^4.0"
|
2023-05-29 08:45:17 +02:00
|
|
|
pytest-xdist = {extras = ["psutil"], version = "^3.3"}
|
2020-12-25 19:14:37 +01:00
|
|
|
recommonmark = "^0.7"
|
2023-06-24 19:59:12 +02:00
|
|
|
selenium = "4.9.0"
|
2023-07-30 08:33:17 +02:00
|
|
|
sphinx = "^7.1"
|
2023-06-18 15:02:21 +02:00
|
|
|
sphinx-copybutton = "^0.5.2"
|
2023-06-18 15:23:33 +02:00
|
|
|
sphinx-intl = "^2.1.0"
|
2022-11-26 12:54:56 +01:00
|
|
|
sphinxcontrib-httpdomain = "^1.8"
|
2021-10-16 21:15:54 +02:00
|
|
|
types-freezegun = "^1.1"
|
2023-04-08 08:54:06 +02:00
|
|
|
types-pytz = "^2023.3"
|
2023-07-14 19:23:29 +02:00
|
|
|
types-redis = "^4.6"
|
2023-05-29 08:45:17 +02:00
|
|
|
types-requests = "^2.31"
|
2020-09-16 15:41:02 +02:00
|
|
|
|
2020-09-16 18:58:11 +02:00
|
|
|
[tool.poetry.scripts]
|
|
|
|
fittrackee = 'fittrackee.__main__:main'
|
2022-11-27 08:40:45 +01:00
|
|
|
fittrackee_worker = 'fittrackee.__main__:worker' # disabled
|
2022-04-23 11:20:43 +02:00
|
|
|
ftcli = 'fittrackee.cli:cli'
|
2022-04-24 11:05:01 +02:00
|
|
|
fittrackee_set_admin = 'fittrackee.__main__:set_admin' # deprecated
|
|
|
|
fittrackee_upgrade_db = 'fittrackee.__main__:upgrade_db' # deprecated
|
2020-09-16 15:41:02 +02:00
|
|
|
|
|
|
|
[tool.black]
|
|
|
|
line-length = 79
|
|
|
|
skip-string-normalization = true
|
2023-06-14 20:58:47 +02:00
|
|
|
target-version = ["py38"]
|
2020-09-16 15:41:02 +02:00
|
|
|
include = ".py$"
|
|
|
|
exclude = "migrations"
|
|
|
|
|
|
|
|
[tool.isort]
|
|
|
|
multi_line_output = 3
|
|
|
|
include_trailing_comma = true
|
|
|
|
force_grid_wrap = 0
|
|
|
|
combine_as_imports = true
|
|
|
|
|
2022-05-28 20:01:14 +02:00
|
|
|
[tool.bandit]
|
|
|
|
exclude_dirs = ["fittrackee/tests/*", "fittrackee/migrations/*"]
|
|
|
|
|
2020-09-16 15:41:02 +02:00
|
|
|
[build-system]
|
|
|
|
requires = ["poetry>=0.12"]
|
|
|
|
build-backend = "poetry.masonry.api"
|