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
dependency on pyperclip should be optional #984
Comments
Thanks for the report. Looking at https://github.com/asweigart/pyperclip/blob/master/setup.py, I don't see any dependencies? |
I know, I fixed pyperclip's Windows support and added tests for the whole thing a while ago. |
I feel that I should add my experience with pyperclip on windows in a cygwin/python 2.7 environment here:
Windows is not my main platform so I don't really care, but it would be great if mitmproxy could run without pyperclip |
@Dutchy-: I think this is a duplicate of asweigart/pyperclip#55 - we can fix that, but I think it's not directly related to this discussion. |
pyperclip compatibility with Cygwin is handled in asweigart/pyperclip#59. |
I'm closing this for now. If there are any strong arguments we missed, I'm happy to re-open this discussion. |
pyperclip has exuberant requirements, so I'd like to avoid installing it on my system. The mitmproxy code already handles missing pyperclip gracefully. Unfortunately, the setup script declares pyperclip as an absolute dependency, so the generated scripts (such as
mitmdump
) won't run without pyperclip installed. Please consider moving pyperclip frominstall_requires
toextras_require
.The text was updated successfully, but these errors were encountered: