File tree Expand file tree Collapse file tree 2 files changed +2
-20
lines changed Expand file tree Collapse file tree 2 files changed +2
-20
lines changed Original file line number Diff line number Diff line change 1
- import os
2
-
3
1
from setuptools import setup
4
2
5
3
# TODO: if py gets upgrade to >=1.6,
15
13
'funcsigs;python_version<"3.0"' ,
16
14
'pathlib2>=2.2.0;python_version<"3.6"' ,
17
15
'colorama;sys_platform=="win32"' ,
16
+ "pluggy>=0.7" ,
18
17
]
19
18
20
19
21
- # if _PYTEST_SETUP_SKIP_PLUGGY_DEP is set, skip installing pluggy;
22
- # used by tox.ini to test with pluggy master
23
- if "_PYTEST_SETUP_SKIP_PLUGGY_DEP" not in os .environ :
24
- INSTALL_REQUIRES .append ("pluggy>=0.7" )
25
-
26
-
27
20
def main ():
28
21
setup (
29
22
use_scm_version = {"write_to" : "src/_pytest/_version.py" },
Original file line number Diff line number Diff line change @@ -47,6 +47,7 @@ extras = testing
47
47
deps =
48
48
numpy: numpy
49
49
pexpect: pexpect
50
+ pluggymaster: git+https://github.com/pytest-dev/pluggy.git@master
50
51
xdist: pytest-xdist>=1.13
51
52
{env:_PYTEST_TOX_EXTRA_DEP:}
52
53
platform = {env:_PYTEST_TOX_PLATFORM:.*}
@@ -78,18 +79,6 @@ commands =
78
79
deps = {[testenv:py27-trial]deps}
79
80
commands = {[testenv:py27-trial]commands}
80
81
81
- [testenv:py27-pluggymaster]
82
- setenv =
83
- {[testenv]setenv}
84
- _PYTEST_SETUP_SKIP_PLUGGY_DEP =1
85
- deps =
86
- {[testenv]deps}
87
- git+https://github.com/pytest-dev/pluggy.git@master
88
-
89
- [testenv:py37-pluggymaster]
90
- setenv = {[testenv:py27-pluggymaster]setenv}
91
- deps = {[testenv:py27-pluggymaster]deps}
92
-
93
82
[testenv:docs]
94
83
basepython = python3
95
84
skipsdist = True
You can’t perform that action at this time.
0 commit comments