Skip to content

Commit

Permalink
Update comments
Browse files Browse the repository at this point in the history
  • Loading branch information
rly committed Jul 18, 2024
1 parent be6783c commit 23fd57a
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions {{ cookiecutter.namespace }}/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,18 +50,26 @@ dependencies = [
# "Discussions" = "https://github.com/organization/package/discussions"
# "Changelog" = "https://github.com/organization/package/blob/main/CHANGELOG.md"

# 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.
# Include only the source code under `src/pynwb/{{ cookiecutter.py_pkg_name }}` and the spec files under `spec`
# in the wheel.
[tool.hatch.build.targets.wheel]
packages = [
"src/pynwb/{{ cookiecutter.py_pkg_name }}",
"spec"
]

# Rewrite the path to the `spec` directory to `{{ cookiecutter.py_pkg_name }}/spec`.
# `{{ cookiecutter.py_pkg_name }}/__init__.py` will look there first for the spec files.
# The resulting directory structure within the wheel will be:
# {{ cookiecutter.py_pkg_name }}/
# ├── __init__.py
# ├── spec
# └── widgets
[tool.hatch.build.targets.wheel.sources]
"spec" = "{{ cookiecutter.py_pkg_name }}/spec"

# The source distribution includes everything in the package except for the `src/matnwb` directory and
# git and github-related files.
[tool.hatch.build.targets.sdist]
exclude = [
".git*",
Expand Down

0 comments on commit 23fd57a

Please sign in to comment.