Skip to content

Commit

Permalink
replace deprecated pip call on rtd
Browse files Browse the repository at this point in the history
  • Loading branch information
ddemidov committed Dec 21, 2018
1 parent 2c80b9d commit 5a756cd
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,14 @@
import os
import shlex
import subprocess
import pip

on_rtd = os.environ.get('READTHEDOCS', None) == 'True'

sys.path.append('..')
from git_version import git_version

if on_rtd:
pip.main(['install', 'breathe'])

subprocess.call([sys.executable, '-m', 'pip', 'install', 'breathe'])
subprocess.call('doxygen', shell=True)

# If extensions (or modules to document with autodoc) are in another directory,
Expand Down

0 comments on commit 5a756cd

Please sign in to comment.