Scaffolding
Pyproject.toml
Use poetry init to generate a pyproject.toml if you don't have one already.
Run it from the repo root (it won't make a repo folder for you).
Here's a basic package setup for poetry.
[tool.poetry]
name = "..." # Name of the package
version = "0.1.0"
description = "..." # A short description
authors = ["Eivind Fonn <evfonn@gmail.com>"]
maintainers = ["Eivind Fonn <evfonn@gmail.com>"]
license = "..." # I like LGPL-3.0-or-later
readme = "..." # A filename in the root directory
homepage = "..." # A githubpages URL or just the github URL
repository = "..." # The github repo URL
documentation = "..." # To githubpages if there is one
classifiers = [] # See https://pypi.org/classifiers/
# Add a classifier for the license too!
include = [
"...", # Path to a file to include when building
{ # Or like this, where format is
path = "...", # "sdist" or "wheel" or both
format = [],
},
]