Debian Codegraph @

pypy/module/cpyext/conftest.py

raw symbols SCIP
1 import os
2 import pytest
3 import sys
4
5 if sys.platform == 'win32':
6 def pytest_configure(config):
7 if config.getoption('runappdirect') or config.getoption('direct_apptest'):
8 return
9 # Set up the compiler via rpython.platform
10 from rpython.translator.platform import host
11 for key in ('PATH', 'LIB', 'INCLUDE'):
12 os.environ[key] = host.c_environ[key]
13 os.environ['DISTUTILS_USE_SDK'] = "1"
14 os.environ['MSSdk'] = "1"