Skip to main content

From Idea to Production on Python Projects

Project description

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

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!

✨🍰✨

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

i2p-5.2.0.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

i2p-5.2.0-py2.py3-none-any.whl (4.6 kB view details)

Uploaded Python 2Python 3

File details

Details for the file i2p-5.2.0.tar.gz.

File metadata

  • Download URL: i2p-5.2.0.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for i2p-5.2.0.tar.gz
Algorithm Hash digest
SHA256 4fdd66b4901ee4738b38ff06d8744d6b7e40ab7791d05d19ec5f27a3e853083e
MD5 283515ded6c1576a216b44f0f55c8594
BLAKE2b-256 0e591364e57610e36fdc36a1f9cc9cb893a06580d1a3ea7ca9ed769c98db404a

See more details on using hashes here.

File details

Details for the file i2p-5.2.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for i2p-5.2.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 029ffdb1ded6cd2a48c5ba7a132c554bfa334c369c649cee41ca02de2b9b3b5b
MD5 08d0c767a960223c797bafdf9351356a
BLAKE2b-256 1141db6be8b6d067ca6c0c526f1862d6375ff7c5d009ac5271eec27f050c3ec2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page