Skip to content

Commit 95c7381

Browse files
committed
Run github_webhook setup and virtualenv only on Python 3
1 parent bfaa463 commit 95c7381

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

setup.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
license='Apache 2.0',
1010
packages=["github_webhook"],
1111
install_requires=['flask==1.0.2'],
12-
tests_require=['mock', 'nose'],
12+
tests_require=['mock', 'pytest', 'nose'],
1313

1414
classifiers=[
1515
'Development Status :: 4 - Beta',
@@ -21,7 +21,6 @@
2121
'Operating System :: MacOS :: MacOS X',
2222
'Operating System :: Microsoft :: Windows',
2323
'Operating System :: POSIX',
24-
'Programming Language :: Python :: 2',
2524
'Programming Language :: Python :: 3',
2625
'Topic :: Software Development :: Version Control'
2726
],

tox.ini

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
[tox]
2-
envlist = py27,py36,py37,pypy,pypy3,flake8
2+
envlist = py36,py37,pypy,pypy3,flake8
33

44
[testenv]
55
deps =
66
pytest
77
pytest-cov
88
flask
9-
six
10-
py{27,py}: mock
9+
pypy: mock
1110
commands = pytest -vl --cov=github_webhook --cov-report term-missing --cov-fail-under 100
1211

1312
[testenv:flake8]

0 commit comments

Comments
 (0)