Skip to content

Commit

Permalink
Update Manifest to exclude unused test modules and Django contrib apps.
Browse files Browse the repository at this point in the history
  • Loading branch information
rtibbles committed Mar 10, 2024
1 parent b4136eb commit ae19b87
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ recursive-include kolibri/utils *
recursive-include kolibri/*/static *.*
recursive-include kolibri/*/build/ *.json
recursive-include kolibri/plugins/*/build *.json
include kolibri/plugins/*/content_types.json

recursive-exclude kolibri/* *pyc
recursive-exclude kolibri/* *pyo
Expand All @@ -27,3 +26,14 @@ exclude kolibri/plugins/*/buildConfig.js

recursive-exclude kolibri/dist *pyc
prune kolibri/dist/*/__pycache___

# Exclude the unused Django GIS and Humanize app
prune kolibri/dist/django/contrib/gis
prune kolibri/dist/django/contrib/humanize

# Exclude all test directories
prune kolibri/**/tests
prune kolibri/**/test
prune kolibri/**/testing
# Except the Django one which is needed by rest_framework
recursive-include kolibri/dist/django/test *.py

0 comments on commit ae19b87

Please sign in to comment.