Skip to content

Commit

Permalink
Clean up sdist and build instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
rly committed Jul 17, 2024
1 parent 4677c5b commit 3a2f01d
Showing 1 changed file with 5 additions and 16 deletions.
21 changes: 5 additions & 16 deletions {{ cookiecutter.namespace }}/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,16 +50,9 @@ dependencies = [
# "Discussions" = "https://github.com/organization/package/discussions"
# "Changelog" = "https://github.com/organization/package/blob/main/CHANGELOG.md"

[tool.hatch.build]
include = [
"src/pynwb",
"spec/{{ cookiecutter.namespace }}.extensions.yaml",
"spec/{{ cookiecutter.namespace }}.namespace.yaml",
]
exclude = [
"src/pynwb/tests",
]

# Include only the source code under src/pynwb/{{ cookiecutter.py_pkg_name }} and the spec files under spec.
# Install the spec files in the wheel under the {{ cookiecutter.py_pkg_name }} package.
# {{ cookiecutter.py_pkg_name }}/__init__.py will look there first for the spec files.
[tool.hatch.build.targets.wheel]
packages = [
"src/pynwb/{{ cookiecutter.py_pkg_name }}",
Expand All @@ -70,13 +63,9 @@ packages = [
"spec" = "{{ cookiecutter.py_pkg_name }}/spec"

[tool.hatch.build.targets.sdist]
include = [
"src/pynwb",
"spec/{{ cookiecutter.namespace }}.extensions.yaml",
"spec/{{ cookiecutter.namespace }}.namespace.yaml",
"docs",
exclude = [
".git*",
]
exclude = []

[tool.pytest.ini_options]
# uncomment below to run pytest always with code coverage reporting. NOTE: breakpoints may not work
Expand Down

0 comments on commit 3a2f01d

Please sign in to comment.