From 5addf36d6a0f47875c25e8137d904c7b6e41d80d Mon Sep 17 00:00:00 2001 From: nitely Date: Tue, 30 Jan 2018 09:42:53 -0300 Subject: [PATCH] make python-magic an extra dep --- requirements.txt | 3 ++- setup.py | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 07135df8..24562812 100644 --- a/requirements.txt +++ b/requirements.txt @@ -3,8 +3,9 @@ django-haystack==2.7.dev0 whoosh==2.7.4 mistune==0.7.4 Pillow==4.2.1 +olefile==0.45.1 django-infinite-scroll-pagination>=0.2.0,<0.3 django-djconfig>=0.5.1,<0.6 uni-slugify==0.1.4 +Unidecode==1.0.22 pytz -python-magic==0.4.13 diff --git a/setup.py b/setup.py index 4ff6f2ab..2d09e8b3 100644 --- a/setup.py +++ b/setup.py @@ -38,6 +38,8 @@ spirit=spirit.extra.bin.spirit:main include_package_data=True, zip_safe=False, install_requires=REQUIREMENTS, + extras_require={ + 'files': ['python-magic==0.4.15']}, license='MIT License', classifiers=[ 'Development Status :: 5 - Production/Stable',