Skip to content

Commit

Permalink
fix PyQt installation via requirements files
Browse files Browse the repository at this point in the history
PyQt is named differently in conda (PyQt) than in pip (PyQt5). This
causes problems when assuming a particular package manager.

.circleci/config.yaml assumes pip
Makefile assumes conda/mamba

This solution presents two different requirements files - one for
each package manager.
  • Loading branch information
widdowquinn committed Mar 15, 2022
1 parent 89955af commit 6ca62da
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ jobs:
pip install -r requirements.txt
pip install -r requirements-dev.txt
pip install -r requirements-pip.txt
pip install -r requirements-pyqt-pip.txt
- save_cache:
paths:
Expand Down
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ setup_env:
@conda install --file requirements-dev.txt --yes
@conda install --file requirements.txt --yes
@conda install --file requirements-thirdparty.txt --yes
@conda install --file requirements-pyqt-conda.txt --yes
@pip install -r requirements-pip.txt
@pre-commit install
@pip install -U -e .
Expand Down
2 changes: 2 additions & 0 deletions requirements-pyqt-conda.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
ete3
PyQt5
2 changes: 2 additions & 0 deletions requirements-pyqt-pip.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
ete3
PyQt5
2 changes: 0 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
biopython
ete3
matplotlib
namedlist
networkx
numpy
openpyxl
pandas
Pillow
PyQt
scipy
seaborn
sqlalchemy
Expand Down

0 comments on commit 6ca62da

Please sign in to comment.