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

Dependency on pypiwin32? #9

Open
altendky opened this issue Nov 10, 2016 · 5 comments
Open

Dependency on pypiwin32? #9

altendky opened this issue Nov 10, 2016 · 5 comments

Comments

@altendky
Copy link
Member

It might be worth making an explicit dependency on pypiwin32 in setup.py for Windows installs.

@crwood
Copy link
Collaborator

crwood commented May 16, 2017

I see that Twisted already depends on pypiwin32 for Windows installs. Are there any circumstances in which explicitly adding the dependency to qt5reactor proper would be necessary?

@altendky
Copy link
Member Author

Hmm, I honestly can't recall if there was a particular case where it was an issue for me. Clearly I should have commented such. That said, it is my opinion that direct dependencies should be directly required. I suppose that would suggest also including pyqt5 and zope.interface since they are directly imported as well.

@kmike
Copy link

kmike commented May 16, 2017

I think adding pyqt5 to install_requires could make things worse; it is not always possible to install pyqt5 using pip, and with pyqt5 in install_requires an innocent-looking pip install -U qt5reactor may unintentionally upgrade pyqt5 to a pip-installable version, e.g. without QtWebKit.

@aalex
Copy link

aalex commented Sep 11, 2017

I confirm that qt5reactor requires pypiwin32 on Windows. I had to install it separately.

@altendky
Copy link
Member Author

I wonder if the missing pypiwin32 is because we didn't know to install twisted[windows_platform]? I'm not sure why they don't just use the platform detection mechanisms.

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

No branches or pull requests

4 participants