Initial commit
- 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/
This commit is contained in:
commit
de8afa6335
6 changed files with 72 additions and 0 deletions
25
pyproject.toml
Normal file
25
pyproject.toml
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
[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]
|
||||
Loading…
Add table
Add a link
Reference in a new issue