module documentation
Undocumented
Class |
|
Undocumented |
Class |
|
Undocumented |
Class |
|
Undocumented |
Function | create |
Undocumented |
Function | test |
Undocumented |
Function | test |
Undocumented |
Function | test |
Undocumented |
Function | test |
Builds with ``pyproject.toml`` should consider ``include-package-data=True`` as default. |
Function | test |
Builds with ``pyproject.toml`` should consider ``include_package_data`` set in ``setup.py``. |
Function | test |
Undocumented |
Function | test |
Undocumented |
Function | verify |
Undocumented |
Constant | ENTRY |
Undocumented |
Constant | EXAMPLE |
Undocumented |
@pytest.mark.parametrize( 'pkg_root, opts', [ ( '.', {}), ( 'src', {}), ( 'lib', { 'packages': { 'find': { 'where': [ 'lib']}}})])
def test_discovered_package_dir_with_attr_directive_in_config(tmp_path, pkg_root, opts): (source) ¶
def test_discovered_package_dir_with_attr_directive_in_config(tmp_path, pkg_root, opts): (source) ¶
Undocumented
@pytest.mark.parametrize( 'config', ( '', '[tool.something]\nvalue = 42'))
def test_empty(tmp_path, config): (source) ¶
def test_empty(tmp_path, config): (source) ¶
Undocumented
@pytest.mark.parametrize( 'example', ( '\n [project]\n name = "myproj"\n version = "1.2"\n\n [my-tool.that-disrespect.pep518]\n value = 42\n '))
def test_ignore_unrelated_config(tmp_path, example): (source) ¶
def test_ignore_unrelated_config(tmp_path, example): (source) ¶
Undocumented
@pytest.mark.parametrize( 'config', ( '[project]\nname = \'myproj\'\nversion=\'42\'\n'))
def test_include_package_data_by_default(tmp_path, config): (source) ¶
def test_include_package_data_by_default(tmp_path, config): (source) ¶
Builds with ``pyproject.toml`` should consider ``include-package-data=True`` as default.
Builds with ``pyproject.toml`` should consider ``include_package_data`` set in ``setup.py``. See https://github.com/pypa/setuptools/issues/3197#issuecomment-1079023889
@pytest.mark.parametrize( 'example, error_msg', [ ( '\n [project]\n name = "myproj"\n version = "1.2"\n requires = [\'pywin32; platform_system=="Windows"\' ]\n ', 'configuration error: .project. must not contain ..requires.. properties')])
def test_invalid_example(tmp_path, example, error_msg): (source) ¶
def test_invalid_example(tmp_path, example, error_msg): (source) ¶
Undocumented