Fix packaging.
[fnpdjango.git] / setup.py
index 59f2ffa..34ddc29 100755 (executable)
--- a/setup.py
+++ b/setup.py
@@ -26,16 +26,20 @@ setup(
     author='Radek Czajka',
     author_email='radekczajka@nowoczesnapolska.org.pl',
     url = '',
     author='Radek Czajka',
     author_email='radekczajka@nowoczesnapolska.org.pl',
     url = '',
-    packages=find_packages(),
+    packages=find_packages(exclude=['tests*']),
     package_data={
         'fnpdjango': whole_trees('fnpdjango', ['templates', 'locale', 'static']),
         'fnpdjango.management.commands': ['babel.cfg'],
     },
     install_requires=[
     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>=1.4,<1.8',
+        'textile==2.2a',
+    ],
+    dependency_links=[
+        'https://github.com/rczajka/python-textile/archive/f7a262f2a8409c8a8adb817b6a9f15f91187a527.zip#egg=textile-2.2a',
     ],
     license='LICENSE',
     description='.',
     long_description="",
     ],
     license='LICENSE',
     description='.',
     long_description="",
+    test_suite="runtests.runtests",
 )
 )