class documentation
class TestSdistTest: (source)
Undocumented
Class Method | make |
Undocumented |
Method | assert |
Undocumented |
Method | source |
Undocumented |
Method | test |
Undocumented |
Method | test |
Undocumented |
Method | test |
Ensure projects defining custom build_py don't break when creating sdists (issue #2849) |
Method | test |
Make sure default files (README.*, etc.) are added in a case-sensitive way to avoid problems with packages built on Windows. |
Method | test |
Undocumented |
Method | test |
Undocumented |
Method | test |
Ensure package_data and include_package_data work together. |
Method | test |
Regression test for pull request #4: ensures that files listed in package_data are included in the manifest even if they're not added to version control. |
Method | test |
Check that pyproject.toml can excluded even if present |
Method | test |
Check if pyproject.toml is included in source distribution if present |
Method | test |
Undocumented |
Method | test |
Undocumented |
Method | test |
Undocumented |
Method | test |
Undocumented |
Method | test |
Undocumented |
Method | test |
Undocumented |
Method | test |
Undocumented |
Method | test |
Files that cannot be encoded to UTF-8 (specifically, those that weren't originally successfully decoded and have surrogate escapes) should be omitted from the manifest. See https://bitbucket.org/tarek/distribute/issue/303 for history. |
Constant | _EXAMPLE |
Undocumented |
@pytest.mark.parametrize( 'config', _EXAMPLE_DIRECTIVES.keys())
def test_add_files_referenced_by_config_directives(self, tmp_path, config): (source) ¶
def test_add_files_referenced_by_config_directives(self, tmp_path, config): (source) ¶
Undocumented
Make sure default files (README.*, etc.) are added in a case-sensitive way to avoid problems with packages built on Windows.
Regression test for pull request #4: ensures that files listed in package_data are included in the manifest even if they're not added to version control.
@fail_on_latin1_encoded_filenames
@skip_under_xdist
def test_sdist_with_latin1_encoded_filename(self): (source) ¶
@skip_under_xdist
def test_sdist_with_latin1_encoded_filename(self): (source) ¶
Undocumented
@fail_on_ascii
@fail_on_latin1_encoded_filenames
def test_sdist_with_utf8_encoded_filename(self): (source) ¶
@fail_on_latin1_encoded_filenames
def test_sdist_with_utf8_encoded_filename(self): (source) ¶
Undocumented