Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 16c75ad

Browse filesBrowse files
committed
Include pyi stubs in wheels/sdists
1 parent 75275b1 commit 16c75ad
Copy full SHA for 16c75ad

File tree

Expand file treeCollapse file tree

1 file changed

+3
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-2
lines changed

‎setup.py

Copy file name to clipboardExpand all lines: setup.py
+3-2Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -228,8 +228,9 @@ def make_release_tree(self, base_dir, files):
228228
update_matplotlibrc(
229229
Path(base_dir, "lib/matplotlib/mpl-data/matplotlibrc"))
230230

231-
232-
package_data = {} # Will be filled below by the various components.
231+
# Start with type hint data
232+
# Will be further filled below by the various components.
233+
package_data = {"matplotlib": ["py.typed", "**/*.pyi"]}
233234

234235
# If the user just queries for information, don't bother figuring out which
235236
# packages to build or install.

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.