Skip to content

Instantly share code, notes, and snippets.

@KristobalJunta
Created April 24, 2020 07:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • 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 <toddbirchard@gmail.com>"]
maintainers = ["Todd Birchard <toddbirchard@gmail.com>"]
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