cookiecutter-djangopackage icon indicating copy to clipboard operation
cookiecutter-djangopackage copied to clipboard

Multiple ways of publishing

Open ewjoachim opened this issue 9 years ago • 0 comments
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 ?

ewjoachim avatar Sep 05 '16 05:09 ewjoachim