-
Notifications
You must be signed in to change notification settings - Fork 109
Description
>>> import pkg_resources
<stdin>:1: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
>>>
This is used here:
def from_file(name):
"""Read script from ./js directory"""
return pkg_resources.resource_string('playwright_stealth', f'js/{name}').decode()
In 3.12.0 I was getting pkg_resources not found, so perhaps setuptools needs to be a dependency?
bluenote10, osjerick and MJafarMashhadi
Metadata
Metadata
Assignees
Labels
No labels