Skip to content
Browse files

Added simple dependency check.

  • Loading branch information...
1 parent 3192648 commit 6d6a6d01c43f86da10846ecd2598642c17247364 @stucchio committed Sep 28, 2010
Showing with 18 additions and 0 deletions.
  1. +18 −0 setup.py
View
18 setup.py
@@ -1,6 +1,24 @@
from distutils.core import setup
+try:
+ import argparse
+except ImportError:
+ print "Module argparse is required by idl. Please install it and try again."
+
+try:
+ import json
+except ImportError:
+ print "Module json is required by idl. Please install it and try again."
+
+try:
+ import urllib
+ import urllib2
+except ImportError:
+ print "Modules urllib and urllib2 are required by idl. Please install them and try again."
+
+
+
setup(name='idli',
version='0.1',
description='Bug tracker interface',

0 comments on commit 6d6a6d0

Please sign in to comment.
Something went wrong with that request. Please try again.