diff --git a/MANIFEST.in b/MANIFEST.in index 8f97280..9a974c4 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -4,7 +4,6 @@ include LICENSE include setupbase.py include _build_meta.py include MANIFEST.in -include py.typed include .mailmap include .flake8 include .pre-commit-config.yaml diff --git a/pyproject.toml b/pyproject.toml index 3c3d051..c83f62d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -188,7 +188,6 @@ pythonPlatform="All" zip-safe = false platforms = ["Linux", "Mac OSX", "Windows"] license-files = ["LICENSE"] -include-package-data = false [tool.setuptools.packages.find] exclude = ["setupext"] diff --git a/setupbase.py b/setupbase.py index a867c73..6759a97 100644 --- a/setupbase.py +++ b/setupbase.py @@ -89,26 +89,9 @@ def find_packages(): return packages #--------------------------------------------------------------------------- -# Find package data +# Check package data #--------------------------------------------------------------------------- -def find_package_data(): - """ - Find IPython's package_data. - """ - # This is not enough for these things to appear in an sdist. - # We need to muck with the MANIFEST to get this to work - - package_data = { - 'IPython.core' : ['profile/README*'], - 'IPython.core.tests' : ['*.png', '*.jpg', 'daft_extension/*.py'], - 'IPython.lib.tests' : ['*.wav'], - 'IPython.testing.plugin' : ['*.txt'], - } - - return package_data - - def check_package_data(package_data): """verify that package_data globs make sense""" print("checking package data")