SETUPTOOLS-GIT-VERSIONING(1)

πŸ“¦
version 2.1.0 Β· 4 versions
, in epel 10, fedora 43

✨ SETUPTOOLS-GIT-VERSIONING ✨

okay bestie, so this is a User Commands manual page for setuptools-git-versioning, and no cap it's about to be your new fave πŸ’–


🌸 NAME 🌸

setuptools-git-versioning β€” use git repo data for building a version number according to PEP-440 πŸ¦‹


πŸ’… DESCRIPTION πŸ’…

the vibe check: you run it, and it peeks at your git info plus your setup.py or pyproject.toml config and hands you a version. it's giving ✨automated✨

here's the usage, exactly as it lives:

usage: setuptools-git-versioning [-h] [--verbose] [root]

and lowkey the whole point, in one line: get version based on git information and setup.py or pyproject.toml config. periodt. πŸ‘‘

πŸŽ€ positional arguments:

  • root β€” path to the folder containing your setup.py or pyproject.toml file. default? the current dir, bestie. no need to type anything if you're already standing in the right place 🫢

πŸ”₯ options:

  • -h, --help β€” show this help message and exit. classic. iconic. the little escape hatch everyone deserves πŸ’…
  • --verbose, -v β€” crank up the verbosity level. and the way that you can use it multiple times?? obsessed. -v gets you INFO messages, -vv gets you DEBUG 😭✨

heads up bestie: -v stacks. one for INFO, two for DEBUG. don't be shy with it πŸ’–

🌸 mwah, that's the whole page. this was setuptools-git-versioning version 2.1.0, from October 2025, living under the SETUPTOOLS-GIT-VERSIONING manual. go forth and version slay πŸ’…πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from