diff --git a/setup.cfg b/setup.cfg index c8c3b12..0bd31a2 100644 --- a/setup.cfg +++ b/setup.cfg @@ -2,14 +2,13 @@ name = requests-mock author = Jamie Lennox author_email = jamielennox@gmail.com -summary = Mock out responses from the requests package -description_file = README.rst +description = Mock out responses from the requests package +long_description = file:README.rst license = Apache-2 -license_file = LICENSE -home_page = https://requests-mock.readthedocs.io/ +url = https://requests-mock.readthedocs.io/ project_urls = Source = https://github.com/jamielennox/requests-mock -classifier = +classifiers = Development Status :: 5 - Production/Stable Intended Audience :: Developers Intended Audience :: Information Technology @@ -29,11 +28,13 @@ classifier = Programming Language :: Python :: Implementation :: CPython Programming Language :: Python :: Implementation :: PyPy Topic :: Software Development :: Testing -test_suite = tests -[files] +[options] packages = requests_mock -package-data = requests_mock = py.typed, *.pyi +include_package_data = true +install_requires = + requests>=2.3,<3 + six [build_sphinx] all_files = 1 @@ -43,10 +44,10 @@ source-dir = doc/source [bdist_wheel] universal = 1 -[extras] +[optinos.extras_require] fixture = fixtures -[entry_points] +[options.entry_points] pytest11 = requests_mock = requests_mock.contrib._pytest_plugin diff --git a/setup.py b/setup.py deleted file mode 100755 index aa2d8a0..0000000 --- a/setup.py +++ /dev/null @@ -1,8 +0,0 @@ -#!/usr/bin/env python - -from setuptools import setup - -setup( - setup_requires=['pbr'], - pbr=True, -) diff --git a/tox.ini b/tox.ini index 9500c77..666b83d 100644 --- a/tox.ini +++ b/tox.ini @@ -9,12 +9,9 @@ envlist = setenv = PYTHONPATH = {toxinidir}:{toxinidir}/requests-mock commands = - pytest tests/pytest - python setup.py testr + pytest deps = - -r{toxinidir}/requirements.txt -r{toxinidir}/test-requirements.txt - pbr [testenv:pep8] commands = flake8 requests_mock tests