remove pytest-runner dependency
Markus Gerstel
3 years ago
36 | 36 |
# Note that you must use the environment variable %PYTHON% to refer to
|
37 | 37 |
# the interpreter you're using - Appveyor does not do anything special
|
38 | 38 |
# to put the Python version you want to use on PATH.
|
39 | |
- "%PYTHON%\\python.exe setup.py test"
|
|
39 |
- "%PYTHON%\\python.exe -m pytest"
|
40 | 40 |
|
41 | 41 |
after_test:
|
42 | 42 |
# This step builds your wheels.
|
3 | 3 |
mock==3.0.5
|
4 | 4 |
pip==19.1.1
|
5 | 5 |
pytest==4.5.0
|
6 | |
pytest-runner==5.1
|
7 | 6 |
Sphinx==1.8.5
|
8 | 7 |
tox==3.13.1
|
9 | 8 |
twine==1.13.0
|
0 | 0 |
#!/usr/bin/env python
|
1 | 1 |
# -*- coding: utf-8 -*-
|
2 | 2 |
|
3 | |
import sys
|
4 | 3 |
from setuptools import setup, find_packages
|
5 | 4 |
|
6 | 5 |
with open("README.rst") as readme_file:
|
|
12 | 11 |
requirements = []
|
13 | 12 |
|
14 | 13 |
setup_requirements = []
|
15 | |
needs_pytest = {"pytest", "test", "ptr"}.intersection(sys.argv)
|
16 | |
if needs_pytest:
|
17 | |
setup_requirements.append("pytest-runner")
|
18 | 14 |
|
19 | 15 |
test_requirements = ["mock", "pytest"]
|
20 | 16 |
|