RF Notifier.
Project description
📦 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 :)
Installation
cd your_project
# Download the setup.py file:
# download with wget
wget https://raw.githubusercontent.com/navdeep-G/setup.py/master/setup.py -O setup.py
# download with curl
curl -O https://raw.githubusercontent.com/navdeep-G/setup.py/master/setup.py
To Do
- Tests via
$ setup.py test
(if it's concise).
Pull requests are encouraged!
More Resources
- What is setup.py? on Stack Overflow
- Official Python Packaging User Guide
- The Hitchhiker's Guide to Packaging
- Cookiecutter template for a Python package
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file RFN-0.0.1.tar.gz
.
File metadata
- Download URL: RFN-0.0.1.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | af7721ff0202e2952fa4cf1015c86f5b9ae7162a62dca9efac4341b025148423 |
|
MD5 | 92e56145d8004692624adfcb18c2989b |
|
BLAKE2b-256 | b33bcbc1f6f7e47cea1b4e05c13dc8c896a21ac4beb8423a66ee2960aa31127a |
File details
Details for the file RFN-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: RFN-0.0.1-py3-none-any.whl
- Upload date:
- Size: 3.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b14b3fdd4f781bed7bdebb7e9bb1befc3f5618d0a82a45627ce7bc66d1db0943 |
|
MD5 | c60049c30b9d10bbf92debbe10c41988 |
|
BLAKE2b-256 | 78c995573a0cdb723347bccac528d043fe3e7e856af3d9f70af7b8c841ba5401 |