Skip to content

Commit

Permalink
Previous fix was incorrect. Now the check for ``command_line_interfac…
Browse files Browse the repository at this point in the history
…e`` is correct in the ``setup.py`` template.
  • Loading branch information
ionelmc committed Jul 2, 2015
1 parent ac86c9a commit ad7dba1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ Changelog

Use cookiecutter's ``--checkout`` options to use a specific version.

v1.7.1 (2015-07-03)
-------------------

* Re-fixed wrong check for ``command_line_interface`` option in the template for ``setup.py``.

v1.7 (2015-06-30)
-----------------

Expand Down
2 changes: 1 addition & 1 deletion {{cookiecutter.repo_name}}/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def _unavailable(self, e):
# 'rst': ['docutils>=0.11'],
# ':python_version=="2.6"': ['argparse'],
},
{%- if cookiecutter.command_line_interface|lower in 'plain', 'click' %}
{%- if cookiecutter.command_line_interface|lower in ['plain', 'click'] %}
entry_points={
'console_scripts': [
'{{ cookiecutter.distribution_name }} = {{ cookiecutter.package_name }}.__main__:main',
Expand Down

0 comments on commit ad7dba1

Please sign in to comment.