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))
setup(
name='django-migdal',
- version='0.3.2',
+ version='0.8.8',
author='Radek Czajka',
author_email='radoslaw.czajka@nowoczesnapolska.org.pl',
- url = '',
+ url='',
packages=find_packages(),
- package_data={'migdal': whole_trees('migdal',
- ['templates', 'locale'])},
+ package_data={'migdal': whole_trees('migdal', ['templates', 'locale'])},
license='LICENSE',
description='.',
long_description="",
+ install_requires=[
+ 'django-contrib-comments==1.7.3',
+ 'django-comments-xtd==1.5.1',
+ 'django-gravatar2',
+ 'django-haystack==2.7.0',
+ 'django-markupfield==1.4.3',
+ 'python-slugify',
+
+ 'fnpdjango==0.3',
+ 'Pillow',
+ 'sorl-thumbnail==12.4.1',
+ 'pysolr==3.8.1',
+ 'fnp-django-pagination==2.2.4',
+ 'Django>=1.7,<2.0',
+ ],
)