2020-09-16 15:41:02 +02:00
|
|
|
[tool.poetry]
|
|
|
|
name = "fittrackee"
|
2023-11-19 16:38:53 +01:00
|
|
|
version = "0.7.26"
|
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",
|
2023-10-03 10:48:55 +02:00
|
|
|
"Programming Language :: Python :: 3.12",
|
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-10-03 09:26:42 +02:00
|
|
|
click = "^8.1.7"
|
2023-11-19 09:45:22 +01:00
|
|
|
dramatiq = {version = "^1.15.0", extras = ["redis"]}
|
|
|
|
flask = "^3.0.0"
|
|
|
|
flask-bcrypt = "^1.0.1"
|
|
|
|
flask-dramatiq = "^0.6.0"
|
|
|
|
flask-limiter = {version = "^3.5.0", extras = ["redis"]}
|
|
|
|
flask-migrate = "^4.0.5"
|
2023-10-07 16:33:03 +02:00
|
|
|
flask-sqlalchemy = "3.0.5"
|
2023-12-16 12:10:41 +01:00
|
|
|
gpxpy = "=1.6.2"
|
2023-11-19 09:45:22 +01:00
|
|
|
gunicorn = "^21.2.0"
|
2023-12-16 12:08:59 +01:00
|
|
|
humanize = "^4.9.0"
|
2023-11-19 09:45:22 +01:00
|
|
|
psycopg2-binary = "^2.9.9"
|
|
|
|
pyjwt = "^2.8.0"
|
|
|
|
pyopenssl = "^23.3.0"
|
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-11-15 18:14:19 +01:00
|
|
|
sqlalchemy = "=1.4.50"
|
2023-07-14 19:23:29 +02:00
|
|
|
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-12-16 12:08:59 +01:00
|
|
|
bandit = "^1.7.6"
|
|
|
|
black = "^23.12.0"
|
2023-11-19 09:45:22 +01:00
|
|
|
flake8 = "^6.1.0" # requires Python >=3.8.1
|
|
|
|
freezegun = "^1.2.2"
|
|
|
|
furo = "^2023.9.10"
|
2023-12-16 12:08:59 +01:00
|
|
|
mypy = "^1.7.1"
|
2023-11-19 09:45:22 +01:00
|
|
|
pytest = "^7.4.3"
|
|
|
|
pytest-black = "^0.3.12"
|
|
|
|
pytest-cov = "^4.1.0"
|
|
|
|
pytest-html = "^3.2.0"
|
|
|
|
pytest-isort = "^3.1.0"
|
2023-12-16 12:08:59 +01:00
|
|
|
pytest-runner = "^6.0.1"
|
2023-11-19 09:45:22 +01:00
|
|
|
pytest-selenium = "^4.0.1"
|
2023-12-16 12:08:59 +01:00
|
|
|
pytest-xdist = {extras = ["psutil"], version = "^3.5.0"}
|
2023-11-19 09:45:22 +01:00
|
|
|
recommonmark = "^0.7.1"
|
|
|
|
selenium = "4.9.1"
|
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"
|
2023-11-19 09:45:22 +01:00
|
|
|
sphinxcontrib-httpdomain = "^1.8.1"
|
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"
|