X-Git-Url: https://git.mdrn.pl/fnpdjango.git/blobdiff_plain/4bc4a4cd7c8470de220e86fe44b50d427368c942..HEAD:/setup.py diff --git a/setup.py b/setup.py index 59f2ffa..1865b06 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,20 +22,28 @@ def whole_trees(package_dir, paths): setup( name='fnpdjango', - version='0.2', + version='0.7', author='Radek Czajka', author_email='radekczajka@nowoczesnapolska.org.pl', - url = '', - packages=find_packages(), + 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.7', - 'textile==2.1.5', + 'Django>=2.0,<5.0', ], + extras_require={ + 'textile': [ + 'textile>=4.0.2', + ], + 'pipeline': [ + 'pipeline', + ], + }, license='LICENSE', description='.', long_description="", + test_suite="runtests.runtests", )