Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

missing dependency: setuptools #87

Open
FirefoxMetzger opened this issue Jan 15, 2018 · 0 comments
Open

missing dependency: setuptools #87

FirefoxMetzger opened this issue Jan 15, 2018 · 0 comments

Comments

@FirefoxMetzger
Copy link

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)

carlwgeorge added a commit to carlwgeorge/swagger_spec_validator that referenced this issue Feb 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant