Skip to content

Instantly share code, notes, and snippets.

@alexander-hanel
Last active July 28, 2025 22:28
Show Gist options
  • Save alexander-hanel/9f8c60e954367b018c32885557f3d803 to your computer and use it in GitHub Desktop.
Save alexander-hanel/9f8c60e954367b018c32885557f3d803 to your computer and use it in GitHub Desktop.
pyproject skeleton/template

Quick notes on pyproject.toml

Folder Structure

my-project
├── pyproject.toml
└── src
    └── my-project
        └── my_module.py

source

pyproject.toml

[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"

[project]
name = "faucibus "
version = "1.2.3"
authors = [{name="Lorem ipsum", email="[email protected]" }]
description = "Lorem ipsum dolor sit amet consectetur adipiscing elit. "
readme = "README.md"
dependencies = [
  "cachetools",
  "requests"
 ]

[project.scripts]
my-client = "faucibus.my_module:main_cli"

[project.urls]
"Homepage" = "https://github.com/your_name_here/something"
"Bug Tracker" = "https://github.com/your_name_here/something/issues"

souce

Test

python3 -m venv my_env
my_env\Scripts\Activate.Ps1
# source my_env/bin/activate <- for linux 
cd my_module 
pip install -e . 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment