diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2013-01-20 11:08:58 -0500 |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2013-01-20 11:08:58 -0500 |
commit | 49ad2069b87be922d0fac034e7bb4a310154a9e6 (patch) | |
tree | aeae2ec8e7c76f7ad9b0b02414af0359369c0331 /setup.py | |
parent | 1df6a7a1e784196e54d0476ccbae5107d32ee5bf (diff) | |
download | cherrypy-git-49ad2069b87be922d0fac034e7bb4a310154a9e6.tar.gz |
Exclude _cpcompat_subprocess when building on Python 3; Fixes #1204
--HG--
branch : cherrypy-3.2.x
Diffstat (limited to 'setup.py')
-rw-r--r-- | setup.py | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -17,11 +17,12 @@ import sys import re class cherrypy_build_py(build_py): - "Custom version of build_py that selects Python-specific wsgiserver" + "Custom version of build_py that excludes Python-specific modules" def build_module(self, module, module_file, package): python3 = sys.version_info >= (3,) if python3: - exclude_pattern = re.compile('wsgiserver2|ssl_pyopenssl') + exclude_pattern = re.compile('wsgiserver2|ssl_pyopenssl|' + '_cpcompat_subprocess') else: exclude_pattern = re.compile('wsgiserver3') if exclude_pattern.match(module): |