class documentation
class TestBuildMetaBackend: (source)
Known subclasses: setuptools.tests.test_build_meta.TestBuildMetaLegacyBackend
Undocumented
Method | build |
Undocumented |
Method | get |
Undocumented |
Method | test |
Undocumented |
Method | test |
Undocumented |
Method | test |
Undocumented |
Method | test |
Undocumented |
Method | test |
Undocumented |
Method | test |
Undocumented |
Method | test |
Undocumented |
Method | test |
Undocumented |
Method | test |
Undocumented |
Method | test |
Undocumented |
Method | test |
Undocumented |
Method | test |
Undocumented |
Method | test |
Undocumented |
Method | test |
Undocumented |
Method | test |
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 |
Sanity check to ensure tests with --mode=strict are different from the ones without --mode. |
Method | test |
Undocumented |
Method | test |
Undocumented |
Method | test |
Undocumented |
Method | test |
Some users might pass metadata_directory pre-populated with `.tox` or `.venv`. See issue #3523. |
Method | test |
Undocumented |
Method | test |
Undocumented |
Method | test |
Undocumented |
Method | test |
Undocumented |
Method | test |
Undocumented |
Class Variable | backend |
Undocumented |
Method | _assert |
All files in the directory should be either links or hard links |
Class Variable | _relative |
Undocumented |
Class Variable | _setup |
Undocumented |
Class Variable | _simple |
Undocumented |
Class Variable | _sys |
Undocumented |
@pytest.mark.parametrize( 'build_hook', ( 'build_sdist', 'build_wheel'))
def test_build_with_empty_setuppy(self, build_backend, build_hook): (source) ¶
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) ¶
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) ¶
def test_build_with_pyproject_config(self, tmpdir, setup_script): (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) ¶
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) ¶
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.
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.
@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) ¶
@pytest.mark.parametrize(
def test_setup_requires(self, setup_literal, requirements, use_wheel, tmpdir_cwd): (source) ¶
Undocumented