use django's i18n_patterns (require django 1.10)
[django-migdal.git] / setup.py
index ed6a8c7..13aa198 100755 (executable)
--- a/setup.py
+++ b/setup.py
@@ -4,10 +4,11 @@
 import os.path
 from setuptools import setup, find_packages
 
 import os.path
 from setuptools import setup, find_packages
 
+
 def whole_trees(package_dir, paths):
     def whole_tree(prefix, path):
         files = []
 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))
             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,13 +23,12 @@ def whole_trees(package_dir, paths):
 
 setup(
     name='django-migdal',
 
 setup(
     name='django-migdal',
-    version='0.1',
+    version='0.6',
     author='Radek Czajka',
     author_email='radoslaw.czajka@nowoczesnapolska.org.pl',
     author='Radek Czajka',
     author_email='radoslaw.czajka@nowoczesnapolska.org.pl',
-    url = '',
+    url='',
     packages=find_packages(),
     packages=find_packages(),
-    package_data={'migdal': whole_trees('migdal', 
-            ['templates', 'locale'])},
+    package_data={'migdal': whole_trees('migdal', ['templates', 'locale'])},
     license='LICENSE',
     description='.',
     long_description="",
     license='LICENSE',
     description='.',
     long_description="",