Skip to content

Commit

Permalink
Added py.typed marker for deephaven (#5196)
Browse files Browse the repository at this point in the history
* Added py.typed marker for deephaven

* Added py.typed to setup.py

* Update setup.py

* Update py/server/setup.py

Co-authored-by: Jianfeng Mao <[email protected]>

* Add py.typed marker for Py client/Py embd server

---------

Co-authored-by: Jianfeng Mao <[email protected]>
Co-authored-by: jianfengmao <[email protected]>
  • Loading branch information
3 people authored Feb 27, 2024
1 parent b073296 commit d741ec3
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 3 deletions.
Empty file added py/client/pydeephaven/py.typed
Empty file.
3 changes: 2 additions & 1 deletion py/client/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,5 +54,6 @@ def _compute_version():
install_requires=['pyarrow',
'bitstring',
'grpcio',
'protobuf']
'protobuf'],
package_data={'pydeephaven': ['py.typed']}
)
Empty file.
2 changes: 1 addition & 1 deletion py/embedded-server/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def _compute_version():
long_description=_get_readme(),
long_description_content_type='text/markdown',
packages=find_namespace_packages(exclude=("tests")),
package_data={'deephaven_server': ['jars/*']},
package_data={'deephaven_server': ['jars/*', 'py.typed']},
url='https://deephaven.io/',
author='Deephaven Data Labs',
author_email='[email protected]',
Expand Down
1 change: 1 addition & 0 deletions py/server/deephaven/py.typed
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

3 changes: 2 additions & 1 deletion py/server/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,5 +72,6 @@ def _compute_version():
},
entry_points={
'deephaven.plugin': ['registration_cls = deephaven.pandasplugin:PandasPluginRegistration']
}
},
package_data={'deephaven': ['py.typed']}
)

0 comments on commit d741ec3

Please sign in to comment.