X-Git-Url: https://git.mdrn.pl/fnpdjango.git/blobdiff_plain/e7c406b88401d0d19aaa46bab8c24c01fb58455d..fb91cca331c5214a808d27a283b5dad2e4fc73d1:/setup.py diff --git a/setup.py b/setup.py index e923074..6f3d8ee 100755 --- a/setup.py +++ b/setup.py @@ -1,13 +1,13 @@ #!/usr/bin/env python -# -*- coding: utf-8 -*- # 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,22 +22,26 @@ def whole_trees(package_dir, paths): setup( name='fnpdjango', - version='0.2.1', + version='0.6', 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']), 'fnpdjango.management.commands': ['babel.cfg'], }, install_requires=[ - 'Django>=1.4,<1.10', - 'textile==2.2a', - ], - dependency_links=[ - 'https://github.com/rczajka/python-textile/archive/f7a262f2a8409c8a8adb817b6a9f15f91187a527.zip#egg=textile-2.2a', + 'Django>=1.11,<4.1', ], + extras_require={ + 'textile': [ + 'textile==2.3.16', + ], + 'pipeline': [ + 'pipeline', + ], + }, license='LICENSE', description='.', long_description="",