gumblex / zhconv

Simple conversion and localization between simplified and traditional Chinese using tables from MediaWiki.
https://pypi.python.org/pypi/zhconv
MIT License
520 stars 37 forks source link

pkg_resources is deprecated as an API #16

Open LeiYangGH opened 5 months ago

LeiYangGH commented 5 months ago
  C:\pv\tts\lib\site-packages\zhconv\zhconv.py:33: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
    from pkg_resources import resource_stream

..\..\..\..\..\pv\tts\lib\site-packages\pkg_resources\__init__.py:2868
..\..\..\..\..\pv\tts\lib\site-packages\pkg_resources\__init__.py:2868
..\..\..\..\..\pv\tts\lib\site-packages\pkg_resources\__init__.py:2868
..\..\..\..\..\pv\tts\lib\site-packages\pkg_resources\__init__.py:2868
  C:\pv\tts\lib\site-packages\pkg_resources\__init__.py:2868: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('google')`.
  Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
    declare_namespace(pkg)