Skip to content
This repository has been archived by the owner on Nov 6, 2024. It is now read-only.

Commit

Permalink
Do not create special case for plugins named napari-foobar (#187)
Browse files Browse the repository at this point in the history
Co-authored-by: Juan Nunez-Iglesias <[email protected]>
  • Loading branch information
GenevieveBuckley and jni authored Jun 7, 2024
1 parent 00297a2 commit c6eed38
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions {{cookiecutter.plugin_name}}/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ testing = [
{%- endif %}

[build-system]
{% if cookiecutter.use_git_tags_for_versioning == 'y' and cookiecutter.plugin_name != "foo-bar" -%}
{% if cookiecutter.use_git_tags_for_versioning == 'y' -%}
requires = ["setuptools>=42.0.0", "wheel", "setuptools_scm"]
{%- else -%}
requires = ["setuptools>=42.0.0", "wheel"]
Expand All @@ -81,7 +81,7 @@ where = ["src"]
[tool.setuptools.package-data]
"*" = ["*.yaml"]

{% if cookiecutter.use_git_tags_for_versioning == 'y' and cookiecutter.plugin_name != "foo-bar" %}
{% if cookiecutter.use_git_tags_for_versioning == 'y' %}
[tool.setuptools_scm]
write_to = "src/{{cookiecutter.module_name}}/_version.py"
{% else %}
Expand Down

0 comments on commit c6eed38

Please sign in to comment.