Skip to content

Commit

Permalink
Fix not excluding ._dev from the dist (#70)
Browse files Browse the repository at this point in the history
  • Loading branch information
Cadair authored Apr 18, 2024
1 parent 8841110 commit e7f59ff
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion {{ cookiecutter.package_name }}/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ docs = [
"sphinx-automodapi",
]

{% if cookiecutter.project_url -%}
{%- if cookiecutter.project_url %}
[project.urls]
repository = "{{ cookiecutter.project_url }}"
{%- endif %}
Expand All @@ -53,6 +53,9 @@ zip-safe = false
include-package-data = true

[tool.setuptools.packages.find]
{% if cookiecutter.enable_dynamic_dev_versions == 'y' -%}
exclude = ["{{ cookiecutter.module_name }}._dev*"]
{%- endif %}

[tool.setuptools_scm]
{% if cookiecutter.enable_dynamic_dev_versions == 'y' -%}
Expand Down

0 comments on commit e7f59ff

Please sign in to comment.