Skip to content

feat: add py.typed #509

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Oct 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions google/generativeai/py.typed
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# see: https://peps.python.org/pep-0561/
4 changes: 3 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# You may obtain a copy of the License at:
#
# http://www.apache.org/licenses/LICENSE-2.0
#
Expand Down Expand Up @@ -88,6 +88,7 @@ def get_version():
"Programming Language :: Python :: 3.12",
"Operating System :: OS Independent",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Typing :: Typed",
],
platforms="Posix; MacOS X; Windows",
packages=packages,
Expand All @@ -97,4 +98,5 @@ def get_version():
extras_require=extras_require,
include_package_data=True,
zip_safe=False,
package_data={"generativeai": ["py.typed"]},
)
Loading