Skip to content

Commit e2fcbae

Browse files
committed
🎨 Move requirements from CI to requirements.txt
1 parent 139d0ee commit e2fcbae

File tree

3 files changed

+12
-2
lines changed

3 files changed

+12
-2
lines changed

.circleci/config.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,9 @@ commands:
1414
name: ↑ Installing build dependencies
1515
command: |
1616
sudo apt-get update && sudo apt-get -y install git python3-dev graphviz graphviz-dev libgraphviz-dev pkg-config python3-sphinx
17+
pip install --user -r requirements.txt
1718
pip install --user -r https://raw.githubusercontent.com/FCP-INDI/C-PAC/<< parameters.version >>/requirements.txt
18-
pip install --user git+https://github.com/${CIRCLE_PROJECT_USERNAME}/C-PAC.git@<< parameters.version >> sphinx m2r numpydoc PyGithub "sphinxcontrib-bibtex<2.0" sphinxcontrib-fulltoc sphinxcontrib-programoutput semver torch
19+
pip install --user git+https://github.com/${CIRCLE_PROJECT_USERNAME}/C-PAC.git@<< parameters.version >>
1920
git clone https://github.com/${CIRCLE_PROJECT_USERNAME}/C-PAC.git /home/circleci/build/C-PAC
2021
cd /home/circleci/build/C-PAC
2122
git checkout << parameters.version >>

docs/_sources/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727

2828
sys.path.append(os.path.dirname(__file__))
2929

30-
from references import CPAC_DocsStyle
30+
from references import CPAC_DocsStyle # noqa: E402
3131

3232
register_plugin('pybtex.style.formatting', 'cpac_docs_style', CPAC_DocsStyle)
3333

requirements.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
m2r
2+
numpydoc
3+
PyGithub
4+
sphinx
5+
sphinxcontrib-bibtex<2.0
6+
sphinxcontrib-fulltoc
7+
sphinxcontrib-programoutput
8+
semver
9+
torch

0 commit comments

Comments
 (0)