1
0
mirror of https://github.com/github/octodns.git synced 2024-05-11 05:55:00 +00:00

Rework update-requirements and setup.py to use pip's setup.py support

This commit is contained in:
Ross McFarland
2022-01-27 10:17:30 -08:00
parent 65dce06169
commit 4dff97e8f6
2 changed files with 33 additions and 39 deletions

View File

@ -55,6 +55,11 @@ def long_description():
return buf.getvalue()
tests_require = (
'pytest>=6.2.5',
'pytest-network>=0.0.1',
)
setup(
author='Ross McFarland',
author_email='rwmcfa1@gmail.com',
@ -62,6 +67,15 @@ setup(
entry_points={
'console_scripts': console_scripts,
},
extras_require={
'dev': tests_require + (
'build>=0.7.0',
'pycodestyle>=2.6.0',
'pyflakes>=2.2.0',
'readme_renderer[md]>=26.0',
'twine>=3.4.2',
),
},
install_requires=(
'PyYaml>=4.2b1',
'dnspython>=1.15.0',
@ -77,10 +91,7 @@ setup(
name='octodns',
packages=find_packages(),
python_requires='>=3.6',
tests_require=tests_require,
url='https://github.com/octodns/octodns',
version=octodns.__VERSION__,
tests_require=(
'pytest>=6.2.5',
'pytest-network>=0.0.1',
),
)