Skip to content

Commit a26312e

Browse files
Remove pytest-runner / setup.py test support
1 parent b848f4b commit a26312e

3 files changed

Lines changed: 0 additions & 20 deletions

File tree

requirements.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ stone>=2,<=3.3.9
55
# Other dependencies for development
66
ply
77
pytest
8-
pytest-runner==5.2.0
98
sphinx
109
sphinx_rtd_theme
1110
twine

setup.cfg

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
# See http://doc.pytest.org/en/latest/goodpractices.html#integrating-with-setuptools-python-setup-py-test-pytest-runner
2-
[aliases]
3-
test=pytest
4-
51
[metadata]
62
description_file=README.rst
73

setup.py

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -30,28 +30,13 @@
3030
'stone>=2,<=3.3.9',
3131
]
3232

33-
setup_requires = [
34-
# Pin pytest-runner to 5.2.0, since 5.3.0 uses `find_namespaces` directive, not supported in
35-
# Python 2.7
36-
'pytest-runner==5.2.0',
37-
]
38-
39-
# WARNING: This imposes limitations on test/requirements.txt such that the
40-
# full Pip syntax is not supported. See also
41-
# <http://stackoverflow.com/questions/14399534/>.
42-
test_reqs = []
43-
with open('test/requirements.txt') as f:
44-
test_reqs += f.read().splitlines()
45-
4633
with codecs.open('README.rst', encoding='utf-8') as f:
4734
README = f.read()
4835

4936
dist = setup(
5037
name='dropbox',
5138
version=version,
5239
install_requires=install_reqs,
53-
setup_requires=setup_requires,
54-
tests_require=test_reqs,
5540
packages=['dropbox'],
5641
zip_safe=False,
5742
author_email='dev-platform@dropbox.com',

0 commit comments

Comments
 (0)