Skip to content
This repository has been archived by the owner on Feb 28, 2023. It is now read-only.

Commit

Permalink
regnerate build files with certbot 1.22.0
Browse files Browse the repository at this point in the history
  • Loading branch information
BigMichi1 committed Dec 9, 2021
1 parent 1b63072 commit 524148e
Show file tree
Hide file tree
Showing 3 changed files with 94 additions and 111 deletions.
29 changes: 8 additions & 21 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]',
Expand All @@ -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',
Expand Down
Loading

0 comments on commit 524148e

Please sign in to comment.