This repository has been archived by the owner on Feb 28, 2023. It is now read-only.
forked from ctrlaltcoop/certbot-dns-hetzner
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
regnerate build files with certbot 1.22.0
- Loading branch information
Showing
3 changed files
with
94 additions
and
111 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,50 +6,36 @@ | |
from setuptools import find_packages | ||
from setuptools import setup | ||
|
||
version = '1.0.5' | ||
version = '1.22.0' | ||
|
||
# This package relies on PyOpenSSL, requests, and six, however, it isn't | ||
# specified here to avoid masking the more specific request requirements in | ||
# acme. See https://github.com/pypa/pip/issues/988 for more info. | ||
install_requires = [ | ||
'setuptools>=39.0.1', | ||
'zope.interface', | ||
'requests', | ||
'mock', | ||
'requests-mock', | ||
'parsedatetime<=2.5;python_version<"3.0"' | ||
'requests-mock' | ||
] | ||
|
||
if not os.environ.get('SNAP_BUILD'): | ||
install_requires.extend([ | ||
'acme>=0.31.0', | ||
'certbot>=1.1.0', | ||
# 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}', | ||
]) | ||
elif 'bdist_wheel' in sys.argv[1:]: | ||
raise RuntimeError('Unset SNAP_BUILD when building wheels ' | ||
'to include certbot dependencies.') | ||
if os.environ.get('SNAP_BUILD'): | ||
install_requires.append('packaging') | ||
|
||
setuptools_known_environment_markers = (LooseVersion(setuptools_version) >= LooseVersion('36.2')) | ||
if setuptools_known_environment_markers: | ||
install_requires.append('mock ; python_version < "3.3"') | ||
elif 'bdist_wheel' in sys.argv[1:]: | ||
raise RuntimeError('Error, you are trying to build certbot wheels using an old version ' | ||
'of setuptools. Version 36.2+ of setuptools is required.') | ||
elif sys.version_info < (3, 3): | ||
install_requires.append('mock') | ||
|
||
BASE_PATH = os.path.abspath(os.path.dirname(__file__)) | ||
with open(os.path.join(BASE_PATH, "README.md")) as f: | ||
long_description = f.read() | ||
|
||
setup( | ||
name='certbot-dns-hetzner', | ||
version=version, | ||
description="Hetzner DNS Authenticator plugin for Certbot", | ||
long_description=long_description, | ||
long_description_content_type="text/markdown", | ||
url='https://github.com/ctrlaltcoop/certbot-dns-hetzner', | ||
author="ctrl.alt.coop", | ||
author_email='[email protected]', | ||
|
@@ -67,6 +53,7 @@ | |
'Programming Language :: Python :: 3.7', | ||
'Programming Language :: Python :: 3.8', | ||
'Programming Language :: Python :: 3.9', | ||
'Programming Language :: Python :: 3.10', | ||
'Topic :: Internet :: WWW/HTTP', | ||
'Topic :: Security', | ||
'Topic :: System :: Installation/Setup', | ||
|
Oops, something went wrong.