File tree Expand file tree Collapse file tree 4 files changed +71
-7
lines changed Expand file tree Collapse file tree 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
114114 )
115115endforeach
116116
117- py.install_sources(
117+ # Basically just __init__.py and the .pyi files
118+ sources_to_install = [
118119 ' __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
121152
122153subdir (' window' )
Original file line number Diff line number Diff line change @@ -31,7 +31,28 @@ foreach ext_name, ext_dict : tslibs_sources
3131 )
3232endforeach
3333
34- py.install_sources(
34+ sources_to_install = [
3535 ' __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(
1616 subdir : ' pandas/_libs/window' ,
1717 install : true
1818)
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')
2626
2727subdirs_list = [
2828 ' _config' ,
29- ' _libs' ,
3029 ' _testing' ,
3130 ' api' ,
3231 ' arrays' ,
You can’t perform that action at this time.
0 commit comments