Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/certbot/certbot.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'certbot-dns-gehirn/setup.py')
-rw-r--r--certbot-dns-gehirn/setup.py39
1 files changed, 29 insertions, 10 deletions
diff --git a/certbot-dns-gehirn/setup.py b/certbot-dns-gehirn/setup.py
index f4a75379c..a849cef45 100644
--- a/certbot-dns-gehirn/setup.py
+++ b/certbot-dns-gehirn/setup.py
@@ -1,13 +1,15 @@
-from setuptools import setup
-from setuptools import find_packages
+import sys
+from setuptools import find_packages
+from setuptools import setup
+from setuptools.command.test import test as TestCommand
-version = '0.31.0.dev0'
+version = '1.3.0.dev0'
# Please update tox.ini when modifying dependency version requirements
install_requires = [
- 'acme>=0.31.0.dev0',
- 'certbot>=0.31.0.dev0',
+ 'acme>=0.31.0',
+ 'certbot>=1.1.0',
'dns-lexicon>=2.1.22',
'mock',
'setuptools',
@@ -19,17 +21,31 @@ docs_extras = [
'sphinx_rtd_theme',
]
+class PyTest(TestCommand):
+ user_options = []
+
+ def initialize_options(self):
+ TestCommand.initialize_options(self)
+ self.pytest_args = ''
+
+ def run_tests(self):
+ import shlex
+ # import here, cause outside the eggs aren't loaded
+ import pytest
+ errno = pytest.main(shlex.split(self.pytest_args))
+ sys.exit(errno)
+
setup(
name='certbot-dns-gehirn',
version=version,
- description="Gehirn Infrastracture Service DNS Authenticator plugin for Certbot",
+ description="Gehirn Infrastructure Service DNS Authenticator plugin for Certbot",
url='https://github.com/certbot/certbot',
author="Certbot Project",
author_email='client-dev@letsencrypt.org',
license='Apache License 2.0',
- python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*',
+ python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*',
classifiers=[
- 'Development Status :: 3 - Alpha',
+ 'Development Status :: 5 - Production/Stable',
'Environment :: Plugins',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: Apache Software License',
@@ -38,9 +54,10 @@ setup(
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
- 'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
+ 'Programming Language :: Python :: 3.7',
+ 'Programming Language :: Python :: 3.8',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Security',
'Topic :: System :: Installation/Setup',
@@ -57,8 +74,10 @@ setup(
},
entry_points={
'certbot.plugins': [
- 'dns-gehirn = certbot_dns_gehirn.dns_gehirn:Authenticator',
+ 'dns-gehirn = certbot_dns_gehirn._internal.dns_gehirn:Authenticator',
],
},
+ tests_require=["pytest"],
test_suite='certbot_dns_gehirn',
+ cmdclass={"test": PyTest},
)