Open Andrei-Pozolotin opened 3 years ago
kivy-ios/recipes/python3/reduce_python
wsgiref
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")
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
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
kivy-ios/recipes/python3/reduce_python
removeswsgiref
https://github.com/kivy/kivy-ios/blob/2cb084c26b7e9b45b027961cded13521b8db5b6b/kivy_ios/recipes/python3/__init__.py
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 toimport
https://github.com/googleapis/google-auth-library-python-oauthlib/blob/master/google_auth_oauthlib/flow.py