- add the following files:
+ .gitignore => ignore poetry's and pyenv's artifacts
+ LICENSE.txt => MIT license as the project is scientific research
+ README.md => rough description of the project
+ poetry.lock
+ pyproject.toml
+ src/urban_meal_delivery/__init__.py => source code package
- use a "src" layout structure:
+ ensure that pytest runs the tests against a packaged and pip
installed version of the source code, not the *.py files in the
project directory
+ more info: https://hynek.me/articles/testing-packaging/
25 lines
592 B
TOML
25 lines
592 B
TOML
[build-system]
|
|
build-backend = "poetry.masonry.api"
|
|
requires = ["poetry>=0.12"]
|
|
|
|
[tool.poetry]
|
|
name = "urban-meal-delivery"
|
|
version = "0.1.0.dev0"
|
|
|
|
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"
|
|
|
|
[tool.poetry.dev-dependencies]
|