Files
@ 67e54e3374dd
Branch filter:
Location: gimmecert/setup.py - annotation
67e54e3374dd
3.1 KiB
text/x-python
GC-48: Update the test framework:
- Slight change required for handling differences in how the output
lines are being broken up during testing.
- Slight change required for handling differences in how the output
lines are being broken up during testing.
7c015a3647d3 7c015a3647d3 7c015a3647d3 17fc6250168e 7c015a3647d3 7c015a3647d3 7c015a3647d3 7c015a3647d3 7c015a3647d3 7c015a3647d3 7c015a3647d3 7c015a3647d3 7c015a3647d3 7c015a3647d3 7c015a3647d3 7c015a3647d3 7c015a3647d3 7c015a3647d3 7c015a3647d3 7c015a3647d3 7c015a3647d3 7c015a3647d3 7c015a3647d3 7c015a3647d3 7c015a3647d3 7c015a3647d3 241ea275db4e 72d385551c37 7c015a3647d3 1f9ad2819335 961eefb614a8 7c015a3647d3 7c015a3647d3 7c015a3647d3 d3bfe4119a3c 7c015a3647d3 7c015a3647d3 b72c9a4a1a02 67e54e3374dd b72c9a4a1a02 b72c9a4a1a02 8655320fec11 67e54e3374dd 67e54e3374dd 67e54e3374dd 67e54e3374dd 9293b6b67ca7 7c015a3647d3 7c015a3647d3 20258ae6f2db 20258ae6f2db 20258ae6f2db 20258ae6f2db 20258ae6f2db 7c015a3647d3 7c015a3647d3 7c015a3647d3 7c015a3647d3 7c015a3647d3 7c015a3647d3 7c015a3647d3 7c015a3647d3 7c015a3647d3 7c015a3647d3 7c015a3647d3 7c015a3647d3 7c015a3647d3 5a918cd2502e 9d0858d255f3 7c015a3647d3 7c015a3647d3 7c015a3647d3 7c015a3647d3 7c015a3647d3 7c015a3647d3 7c015a3647d3 72d385551c37 7c015a3647d3 7c015a3647d3 7c015a3647d3 cf5813628ae1 d8ec591edb40 d8ec591edb40 7c015a3647d3 131979ff3525 7c015a3647d3 7c015a3647d3 7c015a3647d3 7c015a3647d3 7c015a3647d3 3c69231d7781 c376a6e24d78 f63fef3858a1 7c2f909ffdd5 7c015a3647d3 7c015a3647d3 7c015a3647d3 7c015a3647d3 7c015a3647d3 7c015a3647d3 7c015a3647d3 | #!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright (C) 2018, 2020, 2024, 2025 Branko Majic
#
# This file is part of Gimmecert.
#
# Gimmecert is free software: you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the Free
# Software Foundation, either version 3 of the License, or (at your option) any
# later version.
#
# Gimmecert is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
# details.
#
# You should have received a copy of the GNU General Public License along with
# Gimmecert. If not, see <http://www.gnu.org/licenses/>.
#
import os
from setuptools import setup, find_packages
README = open(os.path.join(os.path.dirname(__file__), 'README.rst')).read()
python_requirements = ">=3.9,<3.13"
install_requirements = [
'cryptography>=42.0,<42.1',
'python-dateutil>=2.8,<2.9',
]
doc_requirements = [
'sphinx>=7.1,<7.2',
]
test_lint_requirements = [
'flake8>=7.3,<7.4',
]
test_requirements = [
'time-machine>=2.19,<2.20',
'pytest>=8.4,<8.5',
'pytest-cov>=6.3,<6.4',
'tox>=4.30,<4.31',
'pexpect>=4.9,<4.10',
]
release_requirements = [
'twine',
]
development_requirements = doc_requirements + test_requirements + test_lint_requirements + release_requirements
extras_requirements = {
'devel': development_requirements,
'doc': doc_requirements,
'test': test_requirements,
'testlint': test_lint_requirements,
}
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup(
name='gimmecert',
version='0.0.0',
packages=find_packages(exclude=['tests', 'functional_tests']),
include_package_data=True,
license='GPLv3+',
description='A simple tool for quickly issuing server and client certificates.',
long_description=README,
url='http://projects.majic.rs/gimmecert',
author='Branko Majic',
author_email='branko@majic.rs',
python_requires=python_requirements,
install_requires=install_requirements,
tests_require=test_requirements,
extras_require=extras_requirements,
entry_points={
'console_scripts': ['gimmecert=gimmecert.cli:main'],
},
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Site Management',
'Topic :: Security',
'Topic :: Software Development :: Testing',
'Topic :: Utilities',
],
)
|