urban-meal-delivery/pyproject.toml

96 lines
2.3 KiB
TOML
Raw Normal View History

[build-system]
build-backend = "poetry.masonry.api"
requires = ["poetry>=0.12"]
[tool.black]
line-length = 88
skip-string-normalization = true # wemake-python-styleguide enforces single quotes
target-version = ["py38"]
[tool.poetry]
name = "urban-meal-delivery"
2021-09-13 11:14:17 +02:00
version = "0.4.0"
authors = ["Alexander Hess <alexander@webartifex.biz>"]
description = "Optimizing an urban meal delivery platform"
keywords = [
"data-science",
"meal-delivery",
"vehicle-routing-problem",
]
license = "MIT"
readme = "README.md"
homepage = "https://github.com/webartifex/urban-meal-delivery"
repository = "https://github.com/webartifex/urban-meal-delivery"
[tool.poetry.dependencies]
python = "^3.8"
# Package => code developed in *.py files and packaged under src/urban_meal_delivery
2020-12-30 17:37:51 +01:00
Shapely = "^1.7.1"
alembic = "^1.4.2"
click = "^7.1.2"
2021-01-21 11:47:22 +01:00
folium = "^0.12.1"
2021-03-02 14:33:26 +01:00
geopy = "^2.1.0"
2021-03-01 16:00:38 +01:00
googlemaps = "^4.4.2"
2021-01-21 17:15:39 +01:00
matplotlib = "^3.3.3"
2021-03-02 18:02:42 +01:00
ordered-set = "^4.0.2"
pandas = "^1.1.0"
psycopg2 = "^2.8.5" # adapter for PostgreSQL
2021-01-21 11:47:22 +01:00
rpy2 = "^3.4.1"
sqlalchemy = "^1.3.18"
2021-01-31 18:24:03 +01:00
statsmodels = "^0.12.1"
2021-01-01 17:59:15 +01:00
utm = "^0.7.0"
# Jupyter Lab => notebooks with analyses using the developed package
# IMPORTANT: must be kept in sync with the "research" extra below
jupyterlab = { version="^2.2.2", optional=true }
nb_black = { version="^1.0.7", optional=true }
numpy = { version="^1.19.1", optional=true }
pytz = { version="^2020.1", optional=true }
[tool.poetry.extras]
research = [
"jupyterlab",
"nb_black",
"numpy",
"pytz",
]
[tool.poetry.dev-dependencies]
# Task Runners
nox = "^2020.5.24"
pre-commit = "^2.6.0"
# Code Formatters
autoflake = "^1.3.1"
black = "^19.10b0"
2020-09-30 11:54:23 +02:00
isort = "^4.3.21" # TODO (isort): not ^5.5.4 due to wemake-python-styleguide
# (Static) Code Analyzers
flake8 = "^3.8.3"
flake8-annotations = "^2.3.0"
flake8-black = "^0.2.1"
flake8-pytest-style = "^1.2.2"
mypy = "^0.782"
wemake-python-styleguide = "^0.14.1" # flake8 plug-in
# Test Suite
2020-12-15 19:07:14 +01:00
Faker = "^5.0.1"
factory-boy = "^3.1.0"
2020-12-28 15:52:08 +01:00
geopy = "^2.1.0"
packaging = "^20.4" # used to test the packaged version
pytest = "^6.0.1"
pytest-cov = "^2.10.0"
pytest-env = "^0.6.2"
pytest-mock = "^3.5.1"
xdoctest = { version="^0.13.0", extras=["optional"] }
# Documentation
sphinx = "^3.1.2"
sphinx-autodoc-typehints = "^1.11.0"
[tool.poetry.scripts]
umd = "urban_meal_delivery.console:cli"