From b952f21bf9a0808bce810574c7e1cb30c43a9e08 Mon Sep 17 00:00:00 2001
From: Baptiste Bauvin <baptiste.bauvin@lis-lab.fr>
Date: Fri, 1 May 2020 14:04:22 -0400
Subject: [PATCH] Doc building

---
 .gitlab-ci.yml | 4 ++--
 setup.py       | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 4e0f6146..b7aacdd3 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -22,7 +22,7 @@ doc:
     script:
         - export LC_ALL=$(locale -a | grep en_US)
         - export LANG=$(locale -a | grep en_US)
-        - pip3 install -e . --no-deps
+        - pip3 install -e .[doc]
         - sphinx-apidoc -o docs/source summit
         - cd docs/source
         - sphinx-build -b html . ../build
@@ -43,7 +43,7 @@ pages:
     script:
         - export LC_ALL=$(locale -a | grep en_US)
         - export LANG=$(locale -a | grep en_US)
-        - pip3 install -e . --no-deps
+        - pip3 install -e .[doc]
         - pytest-3
         - sphinx-apidoc -o docs/source summit
         - cd docs/source
diff --git a/setup.py b/setup.py
index 773e677c..820b86ec 100644
--- a/setup.py
+++ b/setup.py
@@ -56,7 +56,7 @@ def setup_package():
     # Une url qui pointe vers la page officielle de votre lib
     url='http://gitlab.lis-lab.fr/baptiste.bauvin/summit/',
     install_requires=requirements,
-    extras_requires={
+    extras_require={
             'dev': ['pytest', 'pytest-cov'],
             'doc': ['sphinx', 'numpydoc', 'docutils', 'sphinx-autoapi']},
 
-- 
GitLab