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!

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

idea2production-2017.0.1b2.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.

idea2production-2017.0.1b2-py2.py3-none-any.whl (4.7 kB view details)

Uploaded Python 2Python 3

File details

Details for the file idea2production-2017.0.1b2.tar.gz.

File metadata

File hashes

Hashes for idea2production-2017.0.1b2.tar.gz
Algorithm Hash digest
SHA256 6b2369c8a0c702203b5a69e472ca884d951bde19ba11897436165004c7dbdb98
MD5 a592ca2cd4174f1e3ec0b0c55c216873
BLAKE2b-256 2181a6691208c140a65dcd5b89a0d055e833e2ebdd8f27c49ee6c047719d140d

See more details on using hashes here.

File details

Details for the file idea2production-2017.0.1b2-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for idea2production-2017.0.1b2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 776a0c767532f70208773502c340662ab6b7dc530bb58c97125238207ba908e9
MD5 a7db91a0092d03db7eb994bc8b83b9a1
BLAKE2b-256 fc33f88d91182f6f3e34e32660424f87b98e3855a5ae51cd534286acd2e162bf

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