Skip to content

Commit

Permalink
Fix to MANIFEST.in to explicitly include sub-directories (fixes #1338)
Browse files Browse the repository at this point in the history
The ``**`` pattern *doesn't* match "any" sub-level, we need to list
all the patterns explicitly.
  • Loading branch information
rshk committed Nov 26, 2013
1 parent bd918a8 commit d9ff5b0
Showing 1 changed file with 18 additions and 3 deletions.
21 changes: 18 additions & 3 deletions MANIFEST.in
Expand Up @@ -5,9 +5,24 @@ recursive-include ckan/config *.xml
recursive-include ckan/i18n *
recursive-include ckan/templates *
recursive-include ckan *.ini
recursive-include ckanext/**/public *
recursive-include ckanext/**/templates *
recursive-include ckanext/**/i18n *

##------------------------------------------------------------
## Warning: ``**`` glob patterns are equivalent to ``*``,
## they *do not* match any level of sub-directories but
## just one. We need to list all the directories
## explicitly for this to work!
##------------------------------------------------------------

#recursive-include ckanext/**/public *
#recursive-include ckanext/**/templates *
#recursive-include ckanext/**/i18n *

recursive-include ckanext/*/i18n *
recursive-include ckanext/*/public *
recursive-include ckanext/*/templates *
recursive-include ckanext/*/theme/public *
recursive-include ckanext/*/theme/templates *

prune .git
include CHANGELOG.txt
include ckan/migration/migrate.cfg
Expand Down

0 comments on commit d9ff5b0

Please sign in to comment.