From a91323b135f26b42eb826984968aa7dcfa8716ab Mon Sep 17 00:00:00 2001 From: Gavin Wahl Date: Thu, 23 Apr 2015 10:42:57 -0600 Subject: [PATCH] Explicitly require pathlib (See #33) --- setup.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/setup.py b/setup.py index a166edc..d1b6846 100644 --- a/setup.py +++ b/setup.py @@ -13,6 +13,12 @@ install_requires = [ 'Django>=1.4', 'pyScss>=1.3.4', ] + +try: + import pathlib +except ImportError: + install_requires.append('pathlib') + tests_require = [ 'Pillow', 'django-compressor>=1.3',