From 84ca14cd2e2d0092937e0b770d72a56045c5668c Mon Sep 17 00:00:00 2001 From: Nick Crews Date: Tue, 8 Mar 2022 19:15:22 +0000 Subject: [PATCH 1/2] BLD: Clean up MANIFEST.in Add a note about why we ``` graft pandas/_libs/src graft pandas/_libs/tslibs/src ``` per https://github.com/pandas-dev/pandas/pull/41977/files#r650501025 Move versioneer.py up to the top with the "top-level" stuff. Delete a few redundant includes that are already included from the `graft pandas` and not excluded anywhere else. --- MANIFEST.in | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/MANIFEST.in b/MANIFEST.in index 78464c9aaedc8..d2b1b8cb887bc 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,4 +1,5 @@ include RELEASE.md +include versioneer.py graft doc prune doc/build @@ -54,9 +55,6 @@ global-exclude *.pxi # exclude the whole directory to avoid running related tests in sdist prune pandas/tests/io/parser/data -include versioneer.py -include pandas/_version.py -include pandas/io/formats/templates/*.tpl - +# Selectively re-add *.cxx files that were excluded above graft pandas/_libs/src graft pandas/_libs/tslibs/src From a009466416f702a7156d003c93368950ab2ae38a Mon Sep 17 00:00:00 2001 From: Nick Crews Date: Tue, 8 Mar 2022 19:21:03 +0000 Subject: [PATCH 2/2] BLD: drop `options.package_data` from setup.cfg These two glob patterns are already covered because: - They are listed in MANIFEST.in AND - include_package_data is set to True See https://github.com/pandas-dev/pandas/issues/46270 --- setup.cfg | 3 --- 1 file changed, 3 deletions(-) diff --git a/setup.cfg b/setup.cfg index 34c9f56f06371..fdd6bdd9d579f 100644 --- a/setup.cfg +++ b/setup.cfg @@ -51,9 +51,6 @@ test = pytest>=6.0 pytest-xdist>=1.31 -[options.package_data] -* = templates/*, _libs/**/*.dll - [build_ext] inplace = True