diff options
author | Tomás Touceda <chiiph@leap.se> | 2013-11-14 10:36:26 -0300 |
---|---|---|
committer | Tomás Touceda <chiiph@leap.se> | 2013-11-14 10:36:26 -0300 |
commit | 17319ce9ef1c127bfd96fbcfc20b685d82f49287 (patch) | |
tree | e24f5ca0da1a1ddcddbbff191b6c141d4790146d | |
parent | 93f5e7c454b18309c83b8081fded1d38ed96d568 (diff) |
Improve setup.py slightly
-rw-r--r-- | setup.py | 15 |
1 files changed, 1 insertions, 14 deletions
@@ -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 ) |