error out on newer python and oldersetuptools

This commit is contained in:
Erica Portnoy 2020-04-13 13:43:10 -07:00
parent 0eef0a0265
commit f8ed8cea2e

View file

@ -24,6 +24,9 @@ if setuptools_known_environment_markers:
install_requires.append('mock ; python_version < "3.3"')
elif sys.version_info < (3,3):
install_requires.append('mock')
else:
raise RuntimeError('Error, you are trying to build certbot wheels using an old version '
'of setuptools. Version 36.2+ of setuptools is required.')
dev_extras = [
'apacheconfig>=0.3.2',