2020-09-16 15:41:02 +02:00
|
|
|
[tool.poetry]
|
|
|
|
name = "fittrackee"
|
2022-09-21 11:04:30 +02:00
|
|
|
version = "0.7.1"
|
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",
|
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-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"
|
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-08-27 19:32:54 +02:00
|
|
|
humanize = "^4.3"
|
2021-07-03 11:17:38 +02:00
|
|
|
psycopg2-binary = "^2.9"
|
2022-05-18 09:26:31 +02:00
|
|
|
pyjwt = "^2.4"
|
2020-09-16 15:41:02 +02:00
|
|
|
python-forecastio = "^1.4"
|
2022-08-27 19:32:54 +02:00
|
|
|
pytz = "^2022.2"
|
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-09-16 08:43:44 +02:00
|
|
|
SQLAlchemy = "=1.4.41"
|
2022-02-05 11:41:23 +01:00
|
|
|
pyOpenSSL = "^22.0"
|
2022-08-27 19:32:54 +02:00
|
|
|
ua-parser = "^0.16.1"
|
2022-07-02 19:25:07 +02:00
|
|
|
Babel = "^2.10.3"
|
2022-07-27 11:10:29 +02:00
|
|
|
Werkzeug = "2.1" # removal of parse_rule in 2.2 breaks sphinxcontrib-httpdomain autoflask
|
2022-09-19 14:05:22 +02:00
|
|
|
Authlib = "1.1.0"
|
2022-09-17 19:36:03 +02:00
|
|
|
Flask-Limiter = {version = "^2.6.2", extras = ["redis"]}
|
2022-09-19 14:05:22 +02:00
|
|
|
PyJWT = "^2.5"
|
2020-09-16 15:41:02 +02:00
|
|
|
|
|
|
|
[tool.poetry.dev-dependencies]
|
2022-09-19 14:05:22 +02:00
|
|
|
black = "^22.8"
|
2022-03-27 09:33:59 +02:00
|
|
|
freezegun = "^1.2"
|
2022-07-27 08:31:17 +02:00
|
|
|
mypy = "^0.971"
|
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-02-16 12:08:25 +01:00
|
|
|
pytest-isort = "^3.0"
|
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-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"
|
2022-08-27 19:32:54 +02:00
|
|
|
types-pytz = "^2022.2"
|
2022-07-03 14:25:38 +02:00
|
|
|
types-requests = "^2.28"
|
2021-10-16 21:15:54 +02:00
|
|
|
types-freezegun = "^1.1"
|
2022-07-27 08:31:17 +02:00
|
|
|
Sphinx = "^5.1"
|
2022-05-28 20:01:14 +02:00
|
|
|
bandit = "^1.7.4"
|
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"
|