sphinxext-ip/setup.py
Jan Dittberner 0af66c6964 Fix deprecations and modernize testing
- use pytest and tox for testing
- fix deprecation warnings from Sphinx and Docutils
2021-01-02 07:24:22 +01:00

40 lines
1.1 KiB
Python

#!/usr/bin/env python3
from setuptools import setup, find_packages
version = '0.3.1'
with open('README.rst') as readme:
description = readme.read() + "\n\n"
with open('CHANGES.rst') as changes:
description += changes.read()
requires = ['Sphinx>=3', 'ipcalc>=1.99']
setup(
author="Jan Dittberner",
author_email="jan@dittberner.info",
description="IP address extension for Sphinx",
long_description=description,
include_package_data=True,
install_requires=requires,
keywords="sphinx extension IP",
license="GPLv3+",
url="https://pypi.python.org/pypi/jandd.sphinxext.ip",
name="jandd.sphinxext.ip",
namespace_packages=['jandd', 'jandd.sphinxext'],
packages=find_packages(),
platforms='any',
version=version,
zip_safe=False,
classifiers=[
"Development Status :: 4 - Beta",
"Framework :: Sphinx :: Extension",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Programming Language :: Python :: 3",
"Topic :: Documentation",
"Topic :: Internet",
],
)