Skip to content
Merged
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
1 change: 0 additions & 1 deletion .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ jobs:
# NOTE: put your own distribution build steps here.
python -m pip install build
export SETUPTOOLS_SCM_PRETEND_VERSION=${GITHUB_REF_NAME}
export SETUPTOOLS_SCM_DEBUG=1
python -m build --sdist --wheel ./

- name: Upload distributions
Expand Down
4 changes: 4 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Ensure the sdist doesn't get unnecessary build files.
recursive-exclude javascript *
recursive-exclude screenshots *
recursive-exclude .github *
6 changes: 4 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,12 @@ module = [
]
ignore_missing_imports = true

[tool.setuptools]
include-package-data = false

[tool.setuptools.packages.find]
include = ["simple_repository_browser", "simple_repository_browser.*"]
namespaces = false

[tool.setuptools.package-data]
# Static untracked files
"*" = ["static/vendored/*"]
"*" = ["static/**/*", "templates/**/*"]