From: Jan Szejko Date: Tue, 14 Feb 2017 13:33:48 +0000 (+0100) Subject: version X-Git-Tag: 0.2.3 X-Git-Url: https://git.mdrn.pl/fnpdjango.git/commitdiff_plain/4c829184e35f9cf229859c35496b728b7cfedf37?ds=inline;hp=02524a5492bf3a45585346ef7d989e7b823059c0 version --- diff --git a/setup.py b/setup.py index 931be07..75a2f35 100755 --- a/setup.py +++ b/setup.py @@ -4,10 +4,11 @@ import os.path from setuptools import setup, find_packages + def whole_trees(package_dir, paths): def whole_tree(prefix, path): files = [] - for f in (f for f in os.listdir(os.path.join(prefix, path)) if not f[0]=='.'): + for f in (f for f in os.listdir(os.path.join(prefix, path)) if f[0] != '.'): new_path = os.path.join(path, f) if os.path.isdir(os.path.join(prefix, new_path)): files.extend(whole_tree(prefix, new_path)) @@ -22,10 +23,10 @@ def whole_trees(package_dir, paths): setup( name='fnpdjango', - version='0.2.2-1', + version='0.2.3', author='Radek Czajka', author_email='radekczajka@nowoczesnapolska.org.pl', - url = '', + url='', packages=find_packages(exclude=['tests*']), package_data={ 'fnpdjango': whole_trees('fnpdjango', ['templates', 'locale', 'static']),