Skip to content

Instantly share code, notes, and snippets.

@Friedjof
Created August 23, 2024 11:46
Show Gist options
  • Save Friedjof/4d8ff93bfa11d237a936a662fece4345 to your computer and use it in GitHub Desktop.
Save Friedjof/4d8ff93bfa11d237a936a662fece4345 to your computer and use it in GitHub Desktop.
Beispieldatei für eine pyproject.toml
[build-system]
requires = ["setuptools>=72.1.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "Mein-Projekt-Name"
version = "0.0.0"
description = "Beschreibung des Projekts"
readme = "README.md"
requires-python = ">=3.6"
authors = [
{name = "Mein Name", email = "meine@email.adresse"}
]
license = {text = "MIT"}
dependencies = [
"pyperclip",
"qrcode[pil]",
"setuptools>=72.1.0",
"validators>=0.33.0"
]
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent"
]
[project.urls]
Homepage = "https://github.com/<username>/<projekt>"
Documentation = "https://github.com/<username>/<projekt>/blob/main/README.md"
Source = "https://github.com/<username>/<projekt>"
Tracker = "https://github.com/<username>/<projekt>/issues"
[project.scripts]
script-name = "Mein-Projekt-Name.main:main"
[tool.setuptools.packages.find]
include = ["Mein-Projekt-Name"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment