Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 24 lines (15 sloc) 348 Bytes
#!/bin/bash
target=MANIFEST.in
cat > $target << END
include AUTHORS
include LICENSE
include README
global-include *.pyc README *.xsl *.txt
END
function finddirs() {
name=$1
find . -name $name -type d | sed "s/^/recursive-include /" | sed "s/$/ */" | sed "s/ \.\// /" >> $target
}
finddirs static
finddirs locale
finddirs templates