File tree Expand file tree Collapse file tree 3 files changed +15
-2
lines changed
Expand file tree Collapse file tree 3 files changed +15
-2
lines changed Original file line number Diff line number Diff line change 11orange-canvas-core>=0.1.21,<0.2a
22orange-widget-base>=4.14.0
33
4- PyQt5>=5.12,!=5.15.1 # 5.15.1 skipped because of QTBUG-87057 - affects select columns
5- PyQtWebEngine>=5.12
64AnyQt>=0.0.11
75
86pyqtgraph>=0.11.1
Original file line number Diff line number Diff line change 1+ PyQt5>=5.12,!=5.15.1 # 5.15.1 skipped because of QTBUG-87057 - affects select columns
2+ PyQtWebEngine>=5.12
Original file line number Diff line number Diff line change 3434except ImportError :
3535 have_cython = False
3636
37+ try :
38+ import PyQt5 .QtCore # pylint: disable=unused-import
39+ have_pyqt5 = True
40+ except ImportError :
41+ have_pyqt5 = False
42+
43+ is_conda = os .path .exists (os .path .join (sys .prefix , 'conda-meta' ))
3744
3845NAME = 'Orange3'
3946
7885
7986requirements = ['requirements-core.txt' , 'requirements-gui.txt' ]
8087
88+ # pyqt5 is named pyqt5 on pypi and pyqt on conda
89+ # due to possible conflicts, skip the pyqt5 requirement in conda environments
90+ # that already have pyqt
91+ if not (is_conda and have_pyqt5 ):
92+ requirements .append ('requirements-pyqt.txt' )
93+
8194INSTALL_REQUIRES = sorted (set (
8295 line .partition ('#' )[0 ].strip ()
8396 for file in (os .path .join (os .path .dirname (__file__ ), file )
You can’t perform that action at this time.
0 commit comments