Reference docMembers

pyproject.toml, Backends, Versioning, and Typed Package

pyproject.toml, Backends, Versioning, and Typed Package is a reference document for GitHub Copilot, from the GitHub awesome-copilot collection by github. The full text is about 1,706 words in 22 sections, with 17 code blocks and 9 tables. It is a supporting file that a skill or agent reads while it works, so the main instructions can stay short.

It is most useful for people working in Backend who use GitHub Copilot.

What it covers

  • Table of Contents
  • 1. Complete pyproject.toml
  • setuptools + setuptoolsscm recommended for git-tag versioning
  • 2. hatchling Modern, Zero-Config
  • 3. flit Minimal, Version from version
  • 4. poetry Integrated Dependency + Build Manager
  • 5. Versioning Strategy
  • PEP 440 - The Standard
  • Semantic Versioning SemVer - use this for every library
  • Version in code - read from package metadata

The full text is in the members library

Book a call and we will give you access to the full GitHub Copilot library: every entry in full, search by meaning, copy and download.

Source: https://github.com/github/awesome-copilot/blob/main/skills/python-pypi-package-builder/references/pyproject-toml.md

Author: github, GitHub awesome-copilot. License: MIT.

Related entries