class documentation

Undocumented

Method build_backend Undocumented
Method get_build_backend Undocumented
Method test_build_sdist Undocumented
Method test_build_sdist_builds_targz_even_if_zip_indicated Undocumented
Method test_build_sdist_explicit_dist Undocumented
Method test_build_sdist_pyproject_toml_exists Undocumented
Method test_build_sdist_relative_path_import Undocumented
Method test_build_sdist_setup_py_exists Undocumented
Method test_build_sdist_setup_py_manifest_excluded Undocumented
Method test_build_sdist_version_change Undocumented
Method test_build_wheel Undocumented
Method test_build_with_empty_setuppy Undocumented
Method test_build_with_existing_file_present Undocumented
Method test_build_with_pyproject_config Undocumented
Method test_dont_install_setup_requires Undocumented
Method test_editable_with_config_settings Undocumented
Method test_editable_with_global_option_still_works The usage of --global-option is now discouraged in favour of --build-option. This is required to make more sense of the provided scape hatch and align with previous pip behaviour. See pypa/setuptools#1928.
Method test_editable_without_config_settings Sanity check to ensure tests with --mode=strict are different from the ones without --mode.
Method test_get_requires_for_build_sdist Undocumented
Method test_get_requires_for_build_wheel Undocumented
Method test_prepare_metadata_for_build_wheel Undocumented
Method test_prepare_metadata_inplace Some users might pass metadata_directory pre-populated with `.tox` or `.venv`. See issue #3523.
Method test_setup_py_file_abspath Undocumented
Method test_setup_requires Undocumented
Method test_setup_requires_with_auto_discovery Undocumented
Method test_static_metadata_in_pyproject_config Undocumented
Method test_sys_argv_passthrough Undocumented
Class Variable backend_name Undocumented
Method _assert_link_tree All files in the directory should be either links or hard links
Class Variable _relative_path_import_files Undocumented
Class Variable _setup_py_file_abspath Undocumented
Class Variable _simple_pyproject_example Undocumented
Class Variable _sys_argv_0_passthrough Undocumented
@pytest.fixture(params=defns)
def build_backend(self, tmpdir, request): (source)

Undocumented

def get_build_backend(self): (source)

Undocumented

def test_build_sdist(self, build_backend): (source)

Undocumented

def test_build_sdist_builds_targz_even_if_zip_indicated(self, tmpdir_cwd): (source)

Undocumented

def test_build_sdist_explicit_dist(self, build_backend): (source)

Undocumented

def test_build_sdist_pyproject_toml_exists(self, tmpdir_cwd): (source)

Undocumented

def test_build_sdist_relative_path_import(self, tmpdir_cwd): (source)
def test_build_sdist_setup_py_exists(self, tmpdir_cwd): (source)

Undocumented

def test_build_sdist_setup_py_manifest_excluded(self, tmpdir_cwd): (source)

Undocumented

def test_build_sdist_version_change(self, build_backend): (source)

Undocumented

def test_build_wheel(self, build_backend): (source)

Undocumented

@pytest.mark.parametrize('build_hook', ('build_sdist', 'build_wheel'))
def test_build_with_empty_setuppy(self, build_backend, build_hook): (source)

Undocumented

@pytest.mark.parametrize('build_type', ('wheel', 'sdist'))
def test_build_with_existing_file_present(self, build_type, tmpdir_cwd): (source)

Undocumented

@pytest.mark.parametrize('setup_script', [None, SETUP_SCRIPT_STUB])
def test_build_with_pyproject_config(self, tmpdir, setup_script): (source)

Undocumented

def test_dont_install_setup_requires(self, tmpdir_cwd): (source)

Undocumented

@pytest.mark.parametrize('config_settings', [{'--build-option': ['--mode', 'strict']}, {'editable-mode': 'strict'}])
def test_editable_with_config_settings(self, tmpdir_cwd, config_settings): (source)

Undocumented

@pytest.mark.filterwarnings('ignore::setuptools.SetuptoolsDeprecationWarning')
def test_editable_with_global_option_still_works(self, tmpdir_cwd): (source)

The usage of --global-option is now discouraged in favour of --build-option. This is required to make more sense of the provided scape hatch and align with previous pip behaviour. See pypa/setuptools#1928.

def test_editable_without_config_settings(self, tmpdir_cwd): (source)

Sanity check to ensure tests with --mode=strict are different from the ones without --mode. --mode=strict should create a local directory with a package tree. The directory should not get created otherwise.

def test_get_requires_for_build_sdist(self, build_backend): (source)

Undocumented

def test_get_requires_for_build_wheel(self, build_backend): (source)

Undocumented

def test_prepare_metadata_for_build_wheel(self, build_backend): (source)

Undocumented

def test_prepare_metadata_inplace(self, build_backend): (source)

Some users might pass metadata_directory pre-populated with `.tox` or `.venv`. See issue #3523.

def test_setup_py_file_abspath(self, tmpdir_cwd): (source)

Undocumented

@pytest.mark.parametrize('setup_literal, requirements', [('\'foo\'', ['foo']), ('[\'foo\']', ['foo']), ('\'foo\\n\'', ['foo']), ('\'foo\\n\\n\'', ['foo']), ('[\'foo\', \'bar\']', ['foo', 'bar']), ('\'# Has a comment line\\nfoo\'', ['foo']), ('\'foo # Has an inline comment\'', ['foo']), ('\'foo \\\\\\n >=3.0\'', ['foo>=3.0']), ('\'foo\\nbar\'', ['foo', 'bar']), ('\'foo\\nbar\\n\'', ['foo', 'bar']), ('[\'foo\\n\', \'bar\\n\']', ['foo', 'bar'])])
@pytest.mark.parametrize('use_wheel', [True, False])
def test_setup_requires(self, setup_literal, requirements, use_wheel, tmpdir_cwd): (source)

Undocumented

def test_setup_requires_with_auto_discovery(self, tmpdir_cwd): (source)

Undocumented

def test_static_metadata_in_pyproject_config(self, tmpdir): (source)

Undocumented

def test_sys_argv_passthrough(self, tmpdir_cwd): (source)
def _assert_link_tree(self, parent_dir): (source)

All files in the directory should be either links or hard links

_relative_path_import_files = (source)

Undocumented

_setup_py_file_abspath = (source)

Undocumented

_simple_pyproject_example = (source)

Undocumented

_sys_argv_0_passthrough = (source)

Undocumented