README
Example for testing, packaging and distribution.
Write, test, publish on pypi cycle.
.
├── [ 560] Makefile
├── [ 920] README.md
├── [ 170] miniretry
│  ├── [ 0] __init__.py
│  ├── [ 101] main.py
│  └── [ 694] retry.py
├── [ 371] setup.py
└── [ 102] tests
└── [ 364] test_retry.py
"Code without tests is broken" -- Jacob Kaplan Moss
$ pytest -q
..
2 passed in 0.01 seconds```
How to publish
- Register an account on pypi.
Put credentials into a local configuration file
$ cat ~/.pypirc
[pypi]
username:<your-user-name>
password:<your-password>
To publish, run:
$ python setup.py sdist upload
...