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))
- author_email='radoslaw.czajka@nowoczesnapolska.org.pl',
- url = '',
- packages=find_packages(),
+ author_email='radekczajka@nowoczesnapolska.org.pl',
+ url='',
+ packages=find_packages(exclude=['tests*']),
- 'fnpdjango': whole_trees('fnpdjango', ['templates', 'locale']),
- 'fnpdjango.deploy': ['templates/*.template'],
+ 'fnpdjango': whole_trees('fnpdjango', ['templates', 'locale', 'static']),