Skip to content

Commit

Permalink
Remove dependency on pbr. Update metadata to resolve from declarative…
Browse files Browse the repository at this point in the history
… config in setup.cfg. Fixes #218.
  • Loading branch information
jaraco authored and jamielennox committed Jan 22, 2024
1 parent 88c4ea7 commit 491adcb
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 20 deletions.
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build-system]
requires = ["setuptools>=56"]
build-backend = "setuptools.build_meta"
21 changes: 11 additions & 10 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -25,11 +24,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.22,<3
six

[build_sphinx]
all_files = 1
Expand All @@ -39,11 +40,11 @@ source-dir = doc/source
[bdist_wheel]
universal = 1

[extras]
[options.extras_require]
fixture =
fixtures

[entry_points]
[options.entry_points]
pytest11 =
requests_mock = requests_mock.contrib._pytest_plugin

Expand Down
8 changes: 0 additions & 8 deletions setup.py

This file was deleted.

2 changes: 0 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,7 @@ commands =
pytest tests/pytest
python -m testtools.run {posargs:discover}
deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
pbr

[testenv:pep8]
commands = flake8 requests_mock tests
Expand Down

0 comments on commit 491adcb

Please sign in to comment.