From d7c739043db1514bf9b896b172b60f016608ad8c Mon Sep 17 00:00:00 2001 From: MeeseeksMachine <39504233+meeseeksmachine@users.noreply.github.com> Date: Sun, 13 Jun 2021 00:38:13 -0700 Subject: [PATCH 1/7] Backport PR #41977: BLD: ignore multiple types of file in wheel (#41979) Co-authored-by: Fangchen Li --- MANIFEST.in | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/MANIFEST.in b/MANIFEST.in index d0d93f2cdba8c..1880e6a7208e2 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -17,18 +17,19 @@ global-exclude *.h5 global-exclude *.html global-exclude *.json global-exclude *.jsonl +global-exclude *.msgpack global-exclude *.pdf global-exclude *.pickle global-exclude *.png global-exclude *.pptx -global-exclude *.pyc -global-exclude *.pyd global-exclude *.ods global-exclude *.odt +global-exclude *.orc global-exclude *.sas7bdat global-exclude *.sav global-exclude *.so global-exclude *.xls +global-exclude *.xlsb global-exclude *.xlsm global-exclude *.xlsx global-exclude *.xpt @@ -39,6 +40,14 @@ global-exclude .DS_Store global-exclude .git* global-exclude \#* +global-exclude *.c +global-exclude *.cpp +global-exclude *.h + +global-exclude *.py[codx] +global-exclude *.px[di] +global-exclude *.pxi.in + # GH 39321 # csv_dir_path fixture checks the existence of the directory # exclude the whole directory to avoid running related tests in sdist From e2f52da4ff23385d821628da7d4f1213f2fe6299 Mon Sep 17 00:00:00 2001 From: Simon Hawkins Date: Sun, 13 Jun 2021 10:08:55 +0100 Subject: [PATCH 2/7] remove global-exclude pxi.in --- MANIFEST.in | 1 - 1 file changed, 1 deletion(-) diff --git a/MANIFEST.in b/MANIFEST.in index 1880e6a7208e2..e767a34d475c1 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -46,7 +46,6 @@ global-exclude *.h global-exclude *.py[codx] global-exclude *.px[di] -global-exclude *.pxi.in # GH 39321 # csv_dir_path fixture checks the existence of the directory From e5b5686af72d427b85eecd43d98db12e35c970fe Mon Sep 17 00:00:00 2001 From: Simon Hawkins Date: Sun, 13 Jun 2021 10:24:44 +0100 Subject: [PATCH 3/7] keep pyx --- MANIFEST.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MANIFEST.in b/MANIFEST.in index e767a34d475c1..f51731ca26771 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -44,7 +44,7 @@ global-exclude *.c global-exclude *.cpp global-exclude *.h -global-exclude *.py[codx] +global-exclude *.py[cod] global-exclude *.px[di] # GH 39321 From 8cc2ec6a2b54800567bebe810c488962a252b34d Mon Sep 17 00:00:00 2001 From: Simon Hawkins Date: Sun, 13 Jun 2021 10:45:16 +0100 Subject: [PATCH 4/7] keep pxd --- MANIFEST.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MANIFEST.in b/MANIFEST.in index f51731ca26771..0cac24120e02a 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -44,8 +44,8 @@ global-exclude *.c global-exclude *.cpp global-exclude *.h -global-exclude *.py[cod] -global-exclude *.px[di] +global-exclude *.py[ocd] +global-exclude *.pxi # GH 39321 # csv_dir_path fixture checks the existence of the directory From 02a2a886874095a17c08ff3f8683643973679331 Mon Sep 17 00:00:00 2001 From: Simon Hawkins Date: Sun, 13 Jun 2021 11:38:49 +0100 Subject: [PATCH 5/7] include pandas/_libs/src/* --- MANIFEST.in | 1 + 1 file changed, 1 insertion(+) diff --git a/MANIFEST.in b/MANIFEST.in index 0cac24120e02a..ad86851d06bdc 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -55,3 +55,4 @@ prune pandas/tests/io/parser/data include versioneer.py include pandas/_version.py include pandas/io/formats/templates/*.tpl +include pandas/_libs/src/* From a0dd67096e37c3c622956fd44176da42b4ad6241 Mon Sep 17 00:00:00 2001 From: Simon Hawkins Date: Sun, 13 Jun 2021 11:48:33 +0100 Subject: [PATCH 6/7] graft pandas/_libs/src --- MANIFEST.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/MANIFEST.in b/MANIFEST.in index ad86851d06bdc..124f850e9fc72 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -55,4 +55,5 @@ prune pandas/tests/io/parser/data include versioneer.py include pandas/_version.py include pandas/io/formats/templates/*.tpl -include pandas/_libs/src/* + +graft pandas/_libs/src From 80c608c7e25190c3f798ac28e5d56d0ae8846c61 Mon Sep 17 00:00:00 2001 From: Simon Hawkins Date: Sun, 13 Jun 2021 12:02:02 +0100 Subject: [PATCH 7/7] add graft pandas/_libs/tslibs/src --- MANIFEST.in | 1 + 1 file changed, 1 insertion(+) diff --git a/MANIFEST.in b/MANIFEST.in index 124f850e9fc72..f616fad6b1557 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -57,3 +57,4 @@ include pandas/_version.py include pandas/io/formats/templates/*.tpl graft pandas/_libs/src +graft pandas/_libs/tslibs/src