2020-06-29 19:58:26 -04:00
|
|
|
import os
|
2019-11-26 18:25:28 -05:00
|
|
|
import sys
|
2017-05-17 14:26:26 -04:00
|
|
|
|
2019-12-09 15:50:20 -05:00
|
|
|
from setuptools import find_packages
|
|
|
|
|
from setuptools import setup
|
2017-05-17 14:26:26 -04:00
|
|
|
|
2024-06-05 17:34:41 -04:00
|
|
|
version = '2.12.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',
|
2022-02-28 18:23:30 -05:00
|
|
|
'setuptools>=41.6.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
|
|
|
docs_extras = [
|
|
|
|
|
'Sphinx>=1.0', # autodoc_member_order = 'bysource', autodoc_default_flags
|
|
|
|
|
'sphinx_rtd_theme',
|
|
|
|
|
]
|
|
|
|
|
|
2023-02-13 14:44:42 -05:00
|
|
|
test_extras = [
|
|
|
|
|
'pytest',
|
|
|
|
|
]
|
|
|
|
|
|
2017-05-17 14:26:26 -04:00
|
|
|
setup(
|
|
|
|
|
name='certbot-dns-google',
|
|
|
|
|
version=version,
|
|
|
|
|
description="Google Cloud DNS Authenticator plugin for Certbot",
|
|
|
|
|
url='https://github.com/certbot/certbot',
|
|
|
|
|
author="Certbot Project",
|
2021-05-03 15:38:54 -04:00
|
|
|
author_email='certbot-dev@eff.org',
|
2017-05-17 14:26:26 -04:00
|
|
|
license='Apache License 2.0',
|
2023-10-13 09:57:42 -04:00
|
|
|
python_requires='>=3.8',
|
2017-05-17 14:26:26 -04:00
|
|
|
classifiers=[
|
2019-12-03 22:56:16 -05:00
|
|
|
'Development Status :: 5 - Production/Stable',
|
2017-05-17 14:26:26 -04:00
|
|
|
'Environment :: Plugins',
|
|
|
|
|
'Intended Audience :: System Administrators',
|
|
|
|
|
'License :: OSI Approved :: Apache Software License',
|
|
|
|
|
'Operating System :: POSIX :: Linux',
|
|
|
|
|
'Programming Language :: Python',
|
|
|
|
|
'Programming Language :: Python :: 3',
|
2019-09-24 14:38:38 -04:00
|
|
|
'Programming Language :: Python :: 3.8',
|
2020-11-19 15:48:36 -05:00
|
|
|
'Programming Language :: Python :: 3.9',
|
2021-11-08 18:55:32 -05:00
|
|
|
'Programming Language :: Python :: 3.10',
|
2022-11-17 15:55:27 -05:00
|
|
|
'Programming Language :: Python :: 3.11',
|
2023-12-13 13:02:38 -05:00
|
|
|
'Programming Language :: Python :: 3.12',
|
2017-05-17 14:26:26 -04:00
|
|
|
'Topic :: Internet :: WWW/HTTP',
|
|
|
|
|
'Topic :: Security',
|
|
|
|
|
'Topic :: System :: Installation/Setup',
|
|
|
|
|
'Topic :: System :: Networking',
|
|
|
|
|
'Topic :: System :: Systems Administration',
|
|
|
|
|
'Topic :: Utilities',
|
|
|
|
|
],
|
|
|
|
|
|
|
|
|
|
packages=find_packages(),
|
|
|
|
|
include_package_data=True,
|
|
|
|
|
install_requires=install_requires,
|
|
|
|
|
extras_require={
|
|
|
|
|
'docs': docs_extras,
|
2023-02-13 14:44:42 -05:00
|
|
|
'test': test_extras,
|
2017-05-17 14:26:26 -04:00
|
|
|
},
|
|
|
|
|
entry_points={
|
|
|
|
|
'certbot.plugins': [
|
2019-11-25 13:26:05 -05:00
|
|
|
'dns-google = certbot_dns_google._internal.dns_google:Authenticator',
|
2017-05-17 14:26:26 -04:00
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
)
|