2020-06-29 19:58:26 -04:00
|
|
|
import os
|
2017-05-17 14:26:26 -04:00
|
|
|
|
2019-12-09 15:50:20 -05:00
|
|
|
from setuptools import setup
|
2017-05-17 14:26:26 -04:00
|
|
|
|
2026-04-07 12:38:18 -04:00
|
|
|
version = '5.6.0.dev0'
|
2017-05-17 14:26:26 -04:00
|
|
|
|
|
|
|
|
install_requires = [
|
2023-04-21 17:58:18 -04:00
|
|
|
'google-api-python-client>=1.6.5',
|
|
|
|
|
'google-auth>=2.16.0',
|
2017-05-17 14:26:26 -04:00
|
|
|
]
|
|
|
|
|
|
2023-07-06 23:14:05 -04:00
|
|
|
if os.environ.get('SNAP_BUILD'):
|
|
|
|
|
install_requires.append('packaging')
|
|
|
|
|
else:
|
2020-06-29 19:58:26 -04:00
|
|
|
install_requires.extend([
|
2021-06-01 17:46:06 -04:00
|
|
|
# We specify the minimum acme and certbot version as the current plugin
|
|
|
|
|
# version for simplicity. See
|
|
|
|
|
# https://github.com/certbot/certbot/issues/8761 for more info.
|
|
|
|
|
f'acme>={version}',
|
|
|
|
|
f'certbot>={version}',
|
2020-06-29 19:58:26 -04:00
|
|
|
])
|
|
|
|
|
|
2017-05-17 14:26:26 -04:00
|
|
|
setup(
|
|
|
|
|
version=version,
|
|
|
|
|
install_requires=install_requires,
|
|
|
|
|
)
|