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 :)

If you're interested in financially supporting Kenneth Reitz open source, consider visiting this link. Your support helps tremendously with sustainability of motivation, as Open Source is no longer part of my day job.

Check out the example!

image

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.

✨🍰✨

Metadata

Release files for turiean 5.3.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 turiean 5.3.0
File Size Uploaded
turiean-5.3.0.tar.gz 5.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for turiean 5.3.0
File Interpreter ABI Platform
turiean-5.3.0-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 12.2 kB

Release files / turiean-5.3.0.tar.gz

Download URL turiean-5.3.0.tar.gz
Size 5.6 kB
Tags Source
SHA-256 checksum
How to use checksums
2d6498347719637cbc1dcfbbcb3876f8e6dc88508ba35eb5f9c757f66e9391af
BLAKE2b-256 checksum
How to use checksums
5484790e8eb09ce32ea1498e81a1981c7e227d002dc82da2dd981f7b70b9d0ec
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.9.1 tqdm/4.28.1 CPython/3.7.1

Release files / turiean-5.3.0-py2.py3-none-any.whl

Download URL turiean-5.3.0-py2.py3-none-any.whl
Size 6.5 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
ee6c8135d5987d7351922d5afc2e58cc204d4e487eb7eea5d3999b40d7ea75fc
BLAKE2b-256 checksum
How to use checksums
b87c2a010ec3b752561c65c5738f4fa3028cb75e95d9e4ba950e559199bf2549
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.9.1 tqdm/4.28.1 CPython/3.7.1

Release history Release notifications | RSS feed

This release

5.3.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