Find file
Fetching contributors…
Cannot retrieve contributors at this time
19 lines (12 sloc) 455 Bytes
# configuration file for py.test
import sys, os
from distutils.spawn import spawn
def pytest_configure(config):
os.chdir(os.path.dirname(__file__))
cmd = [sys.executable, "setup.py", "-q", "build_ext", "-q"]
spawn(cmd, search_path=0)
from tests import build_test_extensions
build_test_extensions()
def pytest_report_header(config):
import greenlet
return "greenlet %s from %s" % (greenlet.__version__, greenlet.__file__)