mirror of
https://github.com/certbot/certbot.git
synced 2026-05-04 17:25:37 -04:00
25 lines
604 B
Python
25 lines
604 B
Python
import os
|
|
|
|
from setuptools import setup
|
|
|
|
version = '5.3.1'
|
|
|
|
install_requires = [
|
|
'python-digitalocean>=1.15.0', # 1.15.0 or newer is recommended for TTL support
|
|
]
|
|
|
|
if os.environ.get('SNAP_BUILD'):
|
|
install_requires.append('packaging')
|
|
else:
|
|
install_requires.extend([
|
|
# 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}',
|
|
])
|
|
|
|
setup(
|
|
version=version,
|
|
install_requires=install_requires,
|
|
)
|