mirror of
https://github.com/pybind/pybind11.git
synced 2026-04-21 07:19:21 +00:00
feat: typing support for helpers (#2588)
* feat: basic typing support * docs: mention syncing as suggested by @rwgk * docs: update changelog * docs: copy of warning in limitations
This commit is contained in:
@@ -19,7 +19,7 @@ if not os.path.exists(lib):
|
||||
|
||||
libsize = os.path.getsize(lib)
|
||||
|
||||
print("------", os.path.basename(lib), "file size:", libsize, end='')
|
||||
print("------", os.path.basename(lib), "file size:", libsize, end="")
|
||||
|
||||
if os.path.exists(save):
|
||||
with open(save) as sf:
|
||||
@@ -34,5 +34,5 @@ if os.path.exists(save):
|
||||
else:
|
||||
print()
|
||||
|
||||
with open(save, 'w') as sf:
|
||||
with open(save, "w") as sf:
|
||||
sf.write(str(libsize))
|
||||
|
||||
@@ -19,6 +19,7 @@ setup(
|
||||
"pybind11.share.cmake.pybind11",
|
||||
],
|
||||
package_data={
|
||||
"pybind11": ["py.typed", "*.pyi"],
|
||||
"pybind11.include.pybind11": ["*.h"],
|
||||
"pybind11.include.pybind11.detail": ["*.h"],
|
||||
"pybind11.share.cmake.pybind11": ["*.cmake"],
|
||||
|
||||
Reference in New Issue
Block a user