diff options
author | zooko <zooko@yukyuk> | 2008-12-01 09:22:02 -0700 |
---|---|---|
committer | zooko <zooko@yukyuk> | 2008-12-01 09:22:02 -0700 |
commit | a4be22af9b16022cb58c2cdb97c0e06ff40f07d2 (patch) | |
tree | 18debbf51b4054cd540816a839ce370af29ce9cf /setup.py | |
parent | 3594e21509d8e7ab6f89358876e75a731d5f3a38 (diff) | |
download | pyopenssl-a4be22af9b16022cb58c2cdb97c0e06ff40f07d2.tar.gz |
convenience hack: if setuptools is not already present, then this will download it from pypi into the CWD and use it.
Diffstat (limited to 'setup.py')
-rwxr-xr-x | setup.py | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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): |