Skip to content

Commit

Permalink
Merge pull request #507 from jdufresne/setup-test
Browse files Browse the repository at this point in the history
Drop deprecated 'setup.py test' support
  • Loading branch information
g-k committed Jan 6, 2020
2 parents e368056 + c3c74a6 commit 804cc10
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 15 deletions.
3 changes: 0 additions & 3 deletions setup.cfg
@@ -1,6 +1,3 @@
[aliases]
test=pytest

[flake8]
exclude =
.git/,
Expand Down
12 changes: 0 additions & 12 deletions setup.py
Expand Up @@ -3,20 +3,10 @@
import io
import os
import re
import sys

from setuptools import setup, find_packages


setup_requires = []
if 'test' in sys.argv:
# Only add pytest-runner to setup_requires if running tests
setup_requires.append('pytest-runner>=2.0,<3dev')

tests_require = [
'pytest>=3.0.0',
]

install_requires = [
'six>=1.9.0',
# html5lib requirements
Expand Down Expand Up @@ -56,8 +46,6 @@ def get_version():
zip_safe=False,
python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*',
install_requires=install_requires,
setup_requires=setup_requires,
tests_require=tests_require,
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
Expand Down

0 comments on commit 804cc10

Please sign in to comment.