cookiecutter-djangopackage
cookiecutter-djangopackage copied to clipboard
Multiple ways of publishing
trafficstars
- Date you used Cookiecutter DjangoPackage: 2016/09/01
- Cookiecutter version used, if known: Where's the info ?
- Python version: 2.7
- Operating System: Ubuntu
Description
I wanted to publish my package on PyPI
What I Did
I checked the files in my cookiecutter generated project to see if there was already a way of doing that. Turns out there are 2 :
make release
and
python setup.py publish
Both do more or less the same things but with differences (one checks for the wheel library.
Zen of python says "there should be one and preferably only one obvious way to do it".
There are two and it's confusing.
I'd make a pull request but I wanted to check first : should make publish just call python setup.py release or is there something else to it ?