Skip to content

Commit 1eff2ed

Browse files
authored
Updates from OpenAstronomy/packaging-guide (OpenAstronomy#84)
This is an autogenerated PR, which merges commits from OpenAstronomy/packaging-guide. *Do not squash merge this PR! All commits from upstream should be present in the repos history.*
2 parents 0a89876 + 47a878d commit 1eff2ed

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

{{ cookiecutter.package_name }}/pyproject.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ docs = [
4444
"sphinx-automodapi",
4545
]
4646

47-
{% if cookiecutter.project_url -%}
47+
{%- if cookiecutter.project_url %}
4848
[project.urls]
4949
repository = "{{ cookiecutter.project_url }}"
5050
{%- endif %}
@@ -54,6 +54,9 @@ zip-safe = false
5454
include-package-data = true
5555

5656
[tool.setuptools.packages.find]
57+
{% if cookiecutter.enable_dynamic_dev_versions == 'y' -%}
58+
exclude = ["{{ cookiecutter.module_name }}._dev*"]
59+
{%- endif %}
5760

5861
[tool.setuptools_scm]
5962
{% if cookiecutter.enable_dynamic_dev_versions == 'y' -%}

0 commit comments

Comments
 (0)