Browse Source

Added new dependency: importlib (if not already available)

Ask Solem 15 years ago
parent
commit
171a61c7c9
1 changed files with 7 additions and 0 deletions
  1. 7 0
      setup.py

+ 7 - 0
setup.py

@@ -47,6 +47,13 @@ try:
 except ImportError:
     install_requires.append("django")
 
+
+try:
+    import importlib
+except ImportError:
+    install_requires.append("importlib")
+
+
 install_requires.extend([
     "python-dateutil",
     "anyjson",