We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 73baef9 commit cf640acCopy full SHA for cf640ac
templates/setup.py.jj2
@@ -88,7 +88,7 @@ MAINTAINER_CONTACT = "{{maintainer_contact}}"
88
{% endif %}
89
{% if command_line_interface or entry_points %}
90
ENTRY_POINTS = {
91
-{% if not entry_points or 'console_scripts' not in entry_points %}
+{% if (not entry_points or 'console_scripts' not in entry_points) and command_line_interface %}
92
"console_scripts": [
93
"{{command_line_interface}} = {{ entry_point }}"
94
],
0 commit comments