Skip to content

Instantly share code, notes, and snippets.

@KristobalJunta
Created April 24, 2020 07:36
Show Gist options
  • Save KristobalJunta/da5e996749238d8279aba034beaa7343 to your computer and use it in GitHub Desktop.
Save KristobalJunta/da5e996749238d8279aba034beaa7343 to your computer and use it in GitHub Desktop.
Sample pyproject file with the fields used for PyPi metadata
[tool.poetry]
name = "poetry_tutorial_project"
version = "0.1.0"
description = "Simple Python project built with Poetry."
authors = ["Todd Birchard <[email protected]>"]
maintainers = ["Todd Birchard <[email protected]>"]
license = "MIT"
readme = "README.md"
homepage = ""
repository = "https://github.com/hackersandslackers/python-poetry-tutorial/"
documentation = "https://hackersandslackers.com/python-poetry/"
keywords = ["Poetry",
"Virtual Environments",
"Tutorial",
"Packages",
"Packaging"]
[tool.poetry.dependencies]
python = "^3.7"
loguru = "*"
psutil = "*"
[tool.poetry.dev-dependencies]
pytest = "*"
[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"
[tool.poetry.scripts]
run = "wsgi:main"
[tool.poetry.urls]
issues = "https://github.com/hackersandslackers/python-poetry-tutorial/issues"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment