Skip to main content

📦 setup.py (for humans)

This repo exists to provide an example setup.py file, that can be used to bootstrap your next Python project. It includes some advanced patterns and best practices for setup.py, as well as some commented–out nice–to–haves.

For example, this setup.py provides a $ python setup.py upload command, which creates a universal wheel (and sdist) and uploads your package to PyPi using Twine, without the need for an annoying setup.cfg file. It also creates/uploads a new git tag, automatically.

In short, setup.py files can be daunting to approach, when first starting out — even Guido has been heard saying, “everyone cargo cults thems”. It’s true — so, I want this repo to be the best place to copy–paste from :)

Check out the example!

https://farm1.staticflickr.com/628/33173824932_58add34581_k_d.jpg

To Do

  • Tests via $ setup.py test (if it’s concise).

Pull requests are encouraged!

More Resources

License

This is free and unencumbered software released into the public domain.

Anyone is free to copy, modify, publish, use, compile, sell, or distribute this software, either in source code form or as a compiled binary, for any purpose, commercial or non-commercial, and by any means.

✨🍰✨

Release files for ssvd 5.2.0

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

Source distribution (sdist)

Source distribution for ssvd 5.2.0
File Size Uploaded
ssvd-5.2.0.tar.gz 5.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ssvd 5.2.0
File Interpreter ABI Platform
ssvd-5.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 10.7 kB

Release files / ssvd-5.2.0.tar.gz

Download URL ssvd-5.2.0.tar.gz
Size 5.1 kB
Tags Source
SHA-256 checksum
How to use checksums
c0386b114b5ce293ec88126389be3d115637ddb41cc82728badcdccf71746404
BLAKE2b-256 checksum
How to use checksums
167aed3778b4770c041de6114ab60b32031a7fa6b1952ab73a58b863f2cdf0ae
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / ssvd-5.2.0-py3-none-any.whl

Download URL ssvd-5.2.0-py3-none-any.whl
Size 5.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6647245fadc092633519896099ff1a32124fd49331bcef8b4b0206b51392ca1f
BLAKE2b-256 checksum
How to use checksums
d24a1c0fd7b1ed955e262097285bc28a1fb013fd8f133cbb03632ef4f003c631
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

5.2.0 This release

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