Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 0 additions & 20 deletions backend/MANIFEST.in

This file was deleted.

1 change: 1 addition & 0 deletions backend/news/+exclude_example_content.internal
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Convert MANIFEST.in to pyproject.toml. Exclude example content from the package build. @sneridagh @fredvd
45 changes: 44 additions & 1 deletion backend/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -80,12 +80,55 @@ path = "src/kitconcept/intranet/__init__.py"
strict-naming = true

[tool.hatch.build.targets.sdist]
include = [
"src/kitconcept/**",
"docs/**",
"news/**",
"tests/**",
"scripts/**",
".coveragerc",
".dockerignore",
".editorconfig",
"*.txt",
"*.yml",
"*.md",
]
exclude = [
"/.github",
"*-mxdev.txt",
"Dockerfile*",
"mx.ini",
"Makefile",
"instance.yaml",
"src/kitconcept/intranet/distributions/intranet/content/content/**",
"*.pyc",
".DS_Store",
]

[tool.hatch.build.targets.wheel]
packages = ["src/kitconcept"]
include = [
"src/kitconcept/**",
"docs/**",
"news/**",
"tests/**",
"scripts/**",
".coveragerc",
".dockerignore",
".editorconfig",
"*.txt",
"*.yml",
"*.md",
]
exclude = [
"*-mxdev.txt",
"Dockerfile*",
"mx.ini",
"Makefile",
"instance.yaml",
"src/kitconcept/intranet/distributions/intranet/content/content/**",
"*.pyc",
".DS_Store",
]

[tool.coverage.run]
source_pkgs = ["kitconcept.intranet", "tests"]
Expand Down
Loading