X-Git-Url: https://git.mdrn.pl/fnpdjango.git/blobdiff_plain/5d92673d4fce9136e113c959b3660def583cac98..28b1d7e9f4a7008712736adce363ca2770d48aea:/setup.py diff --git a/setup.py b/setup.py index 174c6c0..adb30aa 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,25 +23,21 @@ def whole_trees(package_dir, paths): setup( name='fnpdjango', - version='0.1.5', + version='0.3', author='Radek Czajka', - author_email='radoslaw.czajka@nowoczesnapolska.org.pl', - url = '', - packages=find_packages(), + author_email='radekczajka@nowoczesnapolska.org.pl', + url='', + packages=find_packages(exclude=['tests*']), package_data={ - 'fnpdjango': whole_trees('fnpdjango', ['templates', 'locale']), - 'fnpdjango.deploy': ['templates/*.template'], + 'fnpdjango': whole_trees('fnpdjango', ['templates', 'locale', 'static']), 'fnpdjango.management.commands': ['babel.cfg'], }, - scripts=[ - 'bin/git-archive-all.sh', - 'bin/fnpdjango_bootstrap.sh', - ], install_requires=[ - 'django>=1.4,<1.5', - 'textile', + 'Django>=1.4,<2.0', + 'textile==2.3.16', ], license='LICENSE', description='.', long_description="", + test_suite="runtests.runtests", )