Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop deprecated 'setup.py test' support #507

Merged
merged 1 commit into from Jan 6, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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