How to use the pep517.wrappers.norm_and_check function in pep517

To help you get started, we’ve selected a few pep517 examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github sarugaku / requirementslib / src / requirementslib / models / setup_info.py View on Github external
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
github pypa / pipenv / pipenv / vendor / requirementslib / models / setup_info.py View on Github external
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

pep517

Wrappers to build Python packages using PEP 517 hooks

MIT
Latest version published 1 year ago

Package Health Score

77 / 100
Full package analysis

Similar packages