Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def __init__(self, source_dir, build_backend, backend_path=None):
self.source_dir = os.path.abspath(source_dir)
self.build_backend = build_backend
self._subprocess_runner = pep517_subprocess_runner
if backend_path:
backend_path = [
pep517.wrappers.norm_and_check(self.source_dir, p) for p in backend_path
]
self.backend_path = backend_path
def __init__(self, source_dir, build_backend, backend_path=None):
self.source_dir = os.path.abspath(source_dir)
self.build_backend = build_backend
self._subprocess_runner = pep517_subprocess_runner
if backend_path:
backend_path = [
pep517.wrappers.norm_and_check(self.source_dir, p) for p in backend_path
]
self.backend_path = backend_path