Commit 6be099b8 by Eric Coissac

--no commit message

parent 37d24feb
......@@ -15,7 +15,7 @@ from obidistutils.serenity.rerun import rerun_with_anothe_python
try:
from Cython.Distutils import build_ext as ori_build_ext # @UnresolvedImport
except ImportError:
if install_requirements():
if not is_serenity() and install_requirements():
log.info("Restarting installation with all dependencies ok")
rerun_with_anothe_python(os.path.realpath(sys.executable))
......
......@@ -7,13 +7,14 @@ Created on 10 mars 2015
from distutils import log
from obidistutils.serenity.checkpackage import install_requirements
from obidistutils.serenity.rerun import rerun_with_anothe_python
from obidistutils.serenity import is_serenity
import os
import sys
try:
from sphinx.setup_command import BuildDoc as ori_build_sphinx
except ImportError:
if install_requirements():
if not is_serenity() and install_requirements():
log.info("Restarting installation with all dependencies ok")
rerun_with_anothe_python(os.path.realpath(sys.executable))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment