Skip to content

Commit 8223031

Browse files
Remove pytest-runner / setup.py test support (#523)
* Remove pytest-runner / setup.py test support * Trigger CI * remove ez_setup.py and rely on modern build tooling * remove ez_setup reference --------- Co-authored-by: Kevin Kannammalil <kevinrk2000@gmail.com>
1 parent b848f4b commit 8223031

5 files changed

Lines changed: 0 additions & 363 deletions

File tree

MANIFEST.in

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
include ez_setup.py
21
include LICENSE
32
include *.rst
43
include requirements.txt

ez_setup.py

Lines changed: 0 additions & 332 deletions
This file was deleted.

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 & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,6 @@
44

55
import codecs
66
import os
7-
import sys
8-
9-
# Ensure setuptools is available
10-
try:
11-
from ez_setup import use_setuptools
12-
use_setuptools()
13-
except ImportError:
14-
# Try to use ez_setup, but if not, continue anyway. The import is known
15-
# to fail when installing from a tar.gz.
16-
print('Could not import ez_setup', file=sys.stderr)
177

188
from setuptools import setup
199

@@ -30,28 +20,13 @@
3020
'stone>=2,<=3.3.9',
3121
]
3222

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-
4623
with codecs.open('README.rst', encoding='utf-8') as f:
4724
README = f.read()
4825

4926
dist = setup(
5027
name='dropbox',
5128
version=version,
5229
install_requires=install_reqs,
53-
setup_requires=setup_requires,
54-
tests_require=test_reqs,
5530
packages=['dropbox'],
5631
zip_safe=False,
5732
author_email='dev-platform@dropbox.com',

0 commit comments

Comments
 (0)