2020-09-16 15:41:02 +02:00
|
|
|
[tool.poetry]
|
|
|
|
name = "fittrackee"
|
2022-09-21 19:11:30 +02:00
|
|
|
version = "0.7.2"
|
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.7",
|
|
|
|
"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]
|
|
|
|
python = "^3.7"
|
2022-11-01 16:02:19 +01:00
|
|
|
authlib = "1.1.0"
|
|
|
|
babel = "^2.11.0"
|
2022-04-03 11:36:21 +02:00
|
|
|
dramatiq = {version = "^1.13", extras = ["redis"]}
|
|
|
|
flask = "^2.1"
|
|
|
|
flask-bcrypt = "^1.0"
|
2020-12-25 19:14:37 +01:00
|
|
|
flask-dramatiq = "^0.6.0"
|
2022-11-01 16:02:19 +01:00
|
|
|
flask-limiter = {version = "^2.7", extras = ["redis"]}
|
2021-10-16 21:15:54 +02:00
|
|
|
flask-migrate = "^3.1"
|
2022-06-11 13:10:02 +02:00
|
|
|
gpxpy = "=1.5.0"
|
2021-04-06 13:15:26 +02:00
|
|
|
gunicorn = "^20.1"
|
2022-11-01 16:02:19 +01:00
|
|
|
humanize = "^4.4"
|
2021-07-03 11:17:38 +02:00
|
|
|
psycopg2-binary = "^2.9"
|
2022-11-01 16:02:19 +01:00
|
|
|
pyjwt = "^2.6"
|
2020-09-16 15:41:02 +02:00
|
|
|
python-forecastio = "^1.4"
|
2022-11-01 16:02:19 +01:00
|
|
|
pytz = "^2022.6"
|
2022-05-18 09:26:31 +02:00
|
|
|
shortuuid = "^1.0.9"
|
2020-12-25 19:14:37 +01:00
|
|
|
staticmap = "^0.5.4"
|
2022-11-01 16:02:19 +01:00
|
|
|
sqlalchemy = "=1.4.42"
|
|
|
|
pyopenssl = "^22.1"
|
2022-08-27 19:32:54 +02:00
|
|
|
ua-parser = "^0.16.1"
|
2022-11-01 16:02:19 +01:00
|
|
|
werkzeug = "2.1" # removal of parse_rule in 2.2 breaks sphinxcontrib-httpdomain autoflask
|
2020-09-16 15:41:02 +02:00
|
|
|
|
|
|
|
[tool.poetry.dev-dependencies]
|
2022-11-01 16:02:19 +01:00
|
|
|
bandit = "^1.7.4"
|
|
|
|
black = "^22.10"
|
2022-03-27 09:33:59 +02:00
|
|
|
freezegun = "^1.2"
|
2022-11-01 16:02:19 +01:00
|
|
|
mypy = "^0.982"
|
2022-03-27 09:33:59 +02:00
|
|
|
pytest = "^7.1"
|
2020-12-25 19:14:37 +01:00
|
|
|
pytest-black = "^0.3.12"
|
2021-10-16 21:15:54 +02:00
|
|
|
pytest-cov = "^3.0"
|
2022-03-27 09:33:59 +02:00
|
|
|
pytest-flake8 = "^1.1"
|
2022-11-01 16:02:19 +01:00
|
|
|
pytest-isort = "^3.1"
|
2022-03-27 09:33:59 +02:00
|
|
|
pytest-runner = "^6.0"
|
2020-12-25 19:14:37 +01:00
|
|
|
pytest-selenium = "^2.0.1"
|
|
|
|
recommonmark = "^0.7"
|
2022-11-01 16:02:19 +01:00
|
|
|
sphinx = "^5.1"
|
2022-02-05 11:41:23 +01:00
|
|
|
sphinx-bootstrap-theme = "^0.8.1"
|
2020-12-25 19:14:37 +01:00
|
|
|
sphinxcontrib-httpdomain = "^1.7"
|
2021-10-16 21:15:54 +02:00
|
|
|
types-freezegun = "^1.1"
|
2022-11-01 16:02:19 +01:00
|
|
|
types-pytz = "^2022.6"
|
|
|
|
types-requests = "^2.28"
|
2022-09-17 19:36:03 +02:00
|
|
|
types-redis = "^4.3.20"
|
2020-09-16 15:41:02 +02:00
|
|
|
|
2020-09-16 18:58:11 +02:00
|
|
|
[tool.poetry.scripts]
|
|
|
|
fittrackee = 'fittrackee.__main__:main'
|
2022-02-13 14:29:08 +01:00
|
|
|
fittrackee_worker = 'flask_dramatiq:worker'
|
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
|
|
|
|
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
|
|
|
|
|
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"
|