Noushadali
Noushadali

Reputation: 86

Install QScintilla to qtpy

I am using qtpy to write Qt application and I import modules as `

from qtpy import QtWidget

I would like to install QScintilla but installing it using

pip install QScintilla

installs QScintilla inside site-packages/PyQt5 directory ,but I would like it go to site-packages/qtpy , if possible.

I have also tried

pip install --target site-packages/qtpy QScintilla

but it install PyQt5 first inside site-packages/qtpy directory (as dependency) and inside Qscintilla inside the new PyQt5 directory.

Upvotes: 1

Views: 260

Answers (1)

Noushadali
Noushadali

Reputation: 86

With this commit, the QScinitilla can be imported from qtpy as

from qtpy import Qsci

Upvotes: 1

Related Questions