Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
greenlet / conftest.py
Size: Mime:
# 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", "-i"]
    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__)