From 17319ce9ef1c127bfd96fbcfc20b685d82f49287 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1s=20Touceda?= Date: Thu, 14 Nov 2013 10:36:26 -0300 Subject: Improve setup.py slightly --- setup.py | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/setup.py b/setup.py index 10eca8f..b936db7 100644 --- a/setup.py +++ b/setup.py @@ -14,20 +14,6 @@ VERSION = '0.0.2-alpha' VERSION_INFO = (0,0,2) -try: - import Crypto -except ImportError: - print "Missing support for module Crypto" - sys.exit(1) - -try: - import json -except ImportError: - try: - import simplejson - except ImportError: - print "Missing support for module simplejson" - import os, re, shutil, string, struct, sys os.umask(022) @@ -155,6 +141,7 @@ setup(name='Thandy', package_dir=pkg_dir, packages=pkgs, scripts=SCRIPTS, + install_requires=["json", "pycrypto"], cmdclass={'install': InstallCommand}, **extra_args ) -- cgit v1.2.3