Skip to content

Commit

Permalink
Merge pull request #1066 from yagebu/cleanup-manifest
Browse files Browse the repository at this point in the history
cleanup manifest
  • Loading branch information
yagebu committed Sep 5, 2022
2 parents de23ad2 + 0ac8659 commit f2a6b62
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
13 changes: 8 additions & 5 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
# NB: Everything in git gets automatically included by setuptools_scm
# We only need to include the built frontend JS, CSS and fonts
# and exclude development-related files.

prune frontend
graft lektor/admin/static

global-exclude *.py[cdo] __pycache__ *.so .DS_Store .gitkeep *~
prune .github
exclude .gitignore .git-blame-ignore-revs
exclude .codecov.yml .editorconfig .pre-commit-config.yaml

exclude Makefile pylintrc
exclude .codecov.yml
exclude .editorconfig
exclude .git-blame-ignore-revs
exclude .gitignore
exclude .pre-commit-config.yaml
exclude Makefile

prune example
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ all: build-js

.PHONY: build-js
build-js: frontend/node_modules
@echo "---> cleaning static files"
@rm -rf lektor/admin/static
@echo "---> building static files"
@cd frontend; npm run build

Expand Down Expand Up @@ -38,7 +40,7 @@ test-all: test-js

# This creates source distribution and a wheel.
dist: build-js setup.cfg MANIFEST.in
rm -r build dist
rm -rf build dist
python -m build

# Before making a release, CHANGES.md needs to be updated and
Expand Down

0 comments on commit f2a6b62

Please sign in to comment.