Skip to main content

setuptools-generate

pre-commit.ci status github/workflow codecov readthedocs

github/downloads github/downloads/latest github/issues github/issues-closed github/issues-pr github/issues-pr-closed github/discussions github/milestones github/forks github/stars github/watchers github/contributors github/commit-activity github/last-commit github/release-date

github/license github/languages github/languages/top github/directory-file-count github/code-size github/repo-size github/v

pypi/status pypi/v pypi/downloads pypi/format pypi/implementation pypi/pyversions

Generate shell completions and man page when building a python package.

Usage

Add this package to your build requires:

[build-system]
requires = [ "setuptools-generate",]
build-backend = "setuptools.build_meta"

[project]
name = "demo"
version = "0.0.1"

[project.scripts]
demo = "demo:main"

Build your package:

python -m build

See your sdist:

$ tree sdist
 sdist
├──  _demo  # zsh completion script
├──  demo  # bash completion script
├──  demo-0.0.1-py3-none-any.whl  # wheel file
├──  demo-0.0.1.tar.gz  # source distribution file
├──  demo.1  # man page
└──  demo.fish  # fish completion script

You got them.

Example projects:

See document to know more.

Metadata

Release files for setuptools-generate 0.0.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for setuptools-generate 0.0.6
File Size Uploaded
setuptools-generate-0.0.6.tar.gz 35.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for setuptools-generate 0.0.6
File Interpreter ABI Platform
setuptools_generate-0.0.6-py3-none-any.whl Python 3 none any Details

Total release size: 56.1 kB

Release files / setuptools-generate-0.0.6.tar.gz

Download URL setuptools-generate-0.0.6.tar.gz
Size 35.2 kB
Tags Source
SHA-256 checksum
How to use checksums
6e23241d9ecfdfddf9e50a495f3092b60be3ca6f4a5e116c8c3e7f2b646ba725
BLAKE2b-256 checksum
How to use checksums
83f219e81145066e3c4e4b5ecd45210cbb8402ad6ac8f1a89b5056fa5520fca3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.2

Release files / setuptools_generate-0.0.6-py3-none-any.whl

Download URL setuptools_generate-0.0.6-py3-none-any.whl
Size 20.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
82d0426ab65c32a6ac822c016b30ef4d9a8aa9aa23df306842a3d84ab12d6cc0
BLAKE2b-256 checksum
How to use checksums
f06036f1f52314819aac209d0d629f71ff09718331b2832386c84ec575f7f343
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.2

Release history Release notifications | RSS feed

This release

0.0.6 This release

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page