Skip to content

Commit d2bd762

Browse files
committed
📚 update setup.py for c extensions
1 parent fb734be commit d2bd762

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

templates/setup.py.jj2

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ PUBLISH_COMMAND = "{0} setup.py sdist upload -r pypi".format(sys.executable)
257257
PUBLISH_COMMAND = "{0} setup.py sdist bdist_wheel upload -r pypi".format(sys.executable)
258258
{% endif %}
259259

260-
{% if external_module_library %}
260+
{% if not external_module_library %}
261261
GS_COMMAND = ("gs {{name}} v{{release}} " +
262262
"Find {{release}} in changelog for more details")
263263
NO_GS_MESSAGE = ("Automatic github release is disabled. " +
@@ -446,7 +446,7 @@ if __name__ == "__main__":
446446
{% endif %}
447447
{% endif%}
448448
classifiers=CLASSIFIERS,
449-
{% if external_module_library %}
449+
{% if not external_module_library %}
450450
cmdclass=SETUP_COMMANDS
451451
{% endif %}
452452
)

0 commit comments

Comments
 (0)