def whole_trees(package_dir, paths):
def whole_tree(prefix, path):
files = []
def whole_trees(package_dir, paths):
def whole_tree(prefix, path):
files = []
new_path = os.path.join(path, f)
if os.path.isdir(os.path.join(prefix, new_path)):
files.extend(whole_tree(prefix, new_path))
new_path = os.path.join(path, f)
if os.path.isdir(os.path.join(prefix, new_path)):
files.extend(whole_tree(prefix, new_path))
- 'fnpdjango': whole_trees('fnpdjango', ['templates', 'locale']),
- 'fnpdjango.deploy': ['templates/*.template'],
+ 'fnpdjango': whole_trees('fnpdjango', ['templates', 'locale', 'static']),