From 6bd492044bf83e34ab7ab21c188fbebd06ed3537 Mon Sep 17 00:00:00 2001 From: Na'aman Hirschfeld Date: Fri, 16 Aug 2024 13:06:18 +0200 Subject: [PATCH 1/3] Update setup.py --- setup.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/setup.py b/setup.py index b4b05e619..7212ce676 100644 --- a/setup.py +++ b/setup.py @@ -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, @@ -97,4 +98,5 @@ def get_version(): extras_require=extras_require, include_package_data=True, zip_safe=False, + package_data={"generativeai": ["py.typed"]}, ) From 1803720f55528f056679a39e2e38215fdfdb6e70 Mon Sep 17 00:00:00 2001 From: Na'aman Hirschfeld Date: Fri, 16 Aug 2024 13:07:10 +0200 Subject: [PATCH 2/3] Create py.typed --- google/generativeai/py.typed | 1 + 1 file changed, 1 insertion(+) create mode 100644 google/generativeai/py.typed diff --git a/google/generativeai/py.typed b/google/generativeai/py.typed new file mode 100644 index 000000000..d57989efb --- /dev/null +++ b/google/generativeai/py.typed @@ -0,0 +1 @@ +# see: https://peps.python.org/pep-0561/ From 9412483ba792e53480a0da591c3cf2c85732aa37 Mon Sep 17 00:00:00 2001 From: Mark Daoust Date: Tue, 8 Oct 2024 16:22:24 -0700 Subject: [PATCH 3/3] Update setup.py to trigger CI. --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 7212ce676..4d7ef32ca 100644 --- a/setup.py +++ b/setup.py @@ -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 #