File tree 4 files changed +71
-7
lines changed
4 files changed +71
-7
lines changed Original file line number Diff line number Diff line change @@ -114,9 +114,40 @@ foreach ext_name, ext_dict : libs_sources
114
114
)
115
115
endforeach
116
116
117
- py.install_sources(
117
+ # Basically just __init__.py and the .pyi files
118
+ sources_to_install = [
118
119
' __init__.py' ,
119
- subdir : ' pandas/_libs'
120
- )
120
+ ' algos.pyi' ,
121
+ ' arrays.pyi' ,
122
+ ' byteswap.pyi' ,
123
+ ' groupby.pyi' ,
124
+ ' hashing.pyi' ,
125
+ ' hashtable.pyi' ,
126
+ ' index.pyi' ,
127
+ ' indexing.pyi' ,
128
+ ' internals.pyi' ,
129
+ ' interval.pyi' ,
130
+ ' join.pyi' ,
131
+ ' json.pyi' ,
132
+ ' lib.pyi' ,
133
+ ' missing.pyi' ,
134
+ ' ops.pyi' ,
135
+ ' ops_dispatch.pyi' ,
136
+ ' parsers.pyi' ,
137
+ ' properties.pyi' ,
138
+ ' reshape.pyi' ,
139
+ ' sas.pyi' ,
140
+ ' sparse.pyi' ,
141
+ ' testing.pyi' ,
142
+ ' tslib.pyi' ,
143
+ ' writers.pyi'
144
+ ]
145
+
146
+ foreach source : sources_to_install
147
+ py.install_sources(
148
+ source,
149
+ subdir : ' pandas/_libs'
150
+ )
151
+ endforeach
121
152
122
153
subdir (' window' )
Original file line number Diff line number Diff line change @@ -31,7 +31,28 @@ foreach ext_name, ext_dict : tslibs_sources
31
31
)
32
32
endforeach
33
33
34
- py.install_sources(
34
+ sources_to_install = [
35
35
' __init__.py' ,
36
- subdir : ' pandas/_libs/tslibs'
37
- )
36
+ ' ccalendar.pyi' ,
37
+ ' conversion.pyi' ,
38
+ ' dtypes.pyi' ,
39
+ ' fields.pyi' ,
40
+ ' nattype.pyi' ,
41
+ ' np_datetime.pyi' ,
42
+ ' offsets.pyi' ,
43
+ ' parsing.pyi' ,
44
+ ' period.pyi' ,
45
+ ' strptime.pyi' ,
46
+ ' timedeltas.pyi' ,
47
+ ' timestamps.pyi' ,
48
+ ' timezones.pyi' ,
49
+ ' tzconversion.pyi' ,
50
+ ' vectorized.pyi'
51
+ ]
52
+
53
+ foreach source : sources_to_install
54
+ py.install_sources(
55
+ source,
56
+ subdir : ' pandas/_libs/tslibs'
57
+ )
58
+ endforeach
Original file line number Diff line number Diff line change @@ -16,3 +16,16 @@ py.extension_module(
16
16
subdir : ' pandas/_libs/window' ,
17
17
install : true
18
18
)
19
+
20
+ sources_to_install = [
21
+ ' __init__.py' ,
22
+ ' aggregations.pyi' ,
23
+ ' indexers.pyi'
24
+ ]
25
+
26
+ foreach source : sources_to_install
27
+ py.install_sources(
28
+ source,
29
+ subdir : ' pandas/_libs/window'
30
+ )
31
+ endforeach
Original file line number Diff line number Diff line change @@ -26,7 +26,6 @@ subdir('_libs')
26
26
27
27
subdirs_list = [
28
28
' _config' ,
29
- ' _libs' ,
30
29
' _testing' ,
31
30
' api' ,
32
31
' arrays' ,
You can’t perform that action at this time.
0 commit comments