Skip to content

Commit cf640ac

Browse files
committed
🐛 remove empty console scripts. fix #114
1 parent 73baef9 commit cf640ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/setup.py.jj2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ MAINTAINER_CONTACT = "{{maintainer_contact}}"
8888
{% endif %}
8989
{% if command_line_interface or entry_points %}
9090
ENTRY_POINTS = {
91-
{% if not entry_points or 'console_scripts' not in entry_points %}
91+
{% if (not entry_points or 'console_scripts' not in entry_points) and command_line_interface %}
9292
"console_scripts": [
9393
"{{command_line_interface}} = {{ entry_point }}"
9494
],

0 commit comments

Comments
 (0)