commit | a4be22af9b16022cb58c2cdb97c0e06ff40f07d2 | [log] [tgz] |
---|---|---|
author | zooko <zooko@yukyuk> | Mon Dec 01 09:22:02 2008 -0700 |
committer | zooko <zooko@yukyuk> | Mon Dec 01 09:22:02 2008 -0700 |
tree | 18debbf51b4054cd540816a839ce370af29ce9cf | |
parent | 3594e21509d8e7ab6f89358876e75a731d5f3a38 [diff] [blame] |
convenience hack: if setuptools is not already present, then this will download it from pypi into the CWD and use it.
diff --git a/setup.py b/setup.py index 343235c..c5c0247 100755 --- a/setup.py +++ b/setup.py
@@ -11,6 +11,13 @@ Installation script for the OpenSSL module """ +try: + from ez_setup import use_setuptools +except ImportError: + pass +else: + use_setuptools(download_delay=0) + import os, sys def pylibdir(prefixdir):