Skip to content
This repository has been archived by the owner on Jan 25, 2022. It is now read-only.

Multiple ways of publishing #138

Open
ewjoachim opened this issue Sep 5, 2016 · 0 comments
Open

Multiple ways of publishing #138

ewjoachim opened this issue Sep 5, 2016 · 0 comments

Comments

@ewjoachim
Copy link

ewjoachim commented Sep 5, 2016

  • 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 ?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant