You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Both validators import pkg_resources which is part of setuptools, however it is not listed as explicit dependency in the setup.py.
I know this doesn't cause a problem for most people as one technically needs setuptools to install things using a setup.py. In my case I install the library in a specific directory (using the --target flag with pip) and then want to use it with a different (sand-boxed) python, which doesn't have setuptools. Consequentially I get
File "[...]\lib\swagger_spec_validator\validator12.py", line 20, in <module>
from pkg_resources import resource_filename
ImportError: No module named pkg_resources
Would it be worth it adding setuptools to the list of dependencies? As a second thought, setuptools is a big dependency. Is it necessary? (I don't know the code base)
The text was updated successfully, but these errors were encountered:
carlwgeorge
added a commit
to carlwgeorge/swagger_spec_validator
that referenced
this issue
Feb 15, 2023
Both validators import
pkg_resources
which is part ofsetuptools
, however it is not listed as explicit dependency in thesetup.py
.I know this doesn't cause a problem for most people as one technically needs
setuptools
to install things using asetup.py
. In my case I install the library in a specific directory (using the--target
flag with pip) and then want to use it with a different (sand-boxed) python, which doesn't have setuptools. Consequentially I getWould it be worth it adding setuptools to the list of dependencies? As a second thought, setuptools is a big dependency. Is it necessary? (I don't know the code base)
The text was updated successfully, but these errors were encountered: