kivy-ios
kivy-ios copied to clipboard
recipes/python3/reduce_python breaks google-auth-library-python-oauthlib via wsgiref
- currently,
kivy-ios/recipes/python3/reduce_python
removeswsgiref
https://github.com/kivy/kivy-ios/blob/2cb084c26b7e9b45b027961cded13521b8db5b6b/kivy_ios/recipes/python3/init.py
# cleanup python libraries
with cd(join(
self.ctx.dist_dir, "root", "python3", "lib", "python3.8")):
sh.rm("-rf", "wsgiref", "curses", "idlelib", "lib2to3",
"ensurepip", "turtledemo", "lib-dynload", "venv",
"pydoc_data")
- that breaks
google-auth-oauthlib
https://github.com/googleapis/google-auth-library-python-oauthlib
even in cases when wsgiref
is not actually used in active code path, but merely due to import
https://github.com/googleapis/google-auth-library-python-oauthlib/blob/master/google_auth_oauthlib/flow.py
import wsgiref.simple_server
import wsgiref.util
@tito Do you remind why wsgiref
was included in the cleanup? Just for some decluttering or something else?
is there any reason this is not included