예제 #1
0
def pytest_configure(config):
    from smbus_cffi_build import ffi

    target = os.path.join(os.path.dirname(__file__), "..", "smbus")
    ffi.compile(tmpdir=target)
예제 #2
0
def pytest_configure(config):
    from smbus_cffi_build import ffi
    ffi.compile()
예제 #3
0
def pytest_configure(config):
    from smbus_cffi_build import ffi
    target = os.path.join(os.path.dirname(__file__), '..', 'smbus')
    ffi.compile(tmpdir=target)