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))
package_data={
'fnpdjango': whole_trees('fnpdjango', ['templates', 'locale', 'static']),
package_data={
'fnpdjango': whole_trees('fnpdjango', ['templates', 'locale', 'static']),