Skip to content

Commit

Permalink
Debug RTD
Browse files Browse the repository at this point in the history
Signed-off-by: Robert Winkler <rwinkler@antmicro.com>
  • Loading branch information
rw1nkler committed Dec 1, 2020
1 parent f04d553 commit e1526fd
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
5 changes: 0 additions & 5 deletions readthedocs.yml → .readthedocs.yml
Expand Up @@ -12,13 +12,8 @@ sphinx:
# Optionally build your docs in additional formats such as PDF and ePub
formats: []

# Optionally set the version of Python and requirements required to build your docs
python:
version: 3.7

conda:
environment: environment.yml

submodules:
include: all
recursive: true
11 changes: 11 additions & 0 deletions source/conf.py
Expand Up @@ -314,6 +314,17 @@
:format: html
"""

def print_stats():
subprocess.check_call("which conda", stdout=sys.stdout, stderr=sys.stderr, shell=True)
subprocess.check_call("which python3", stdout=sys.stdout, stderr=sys.stderr, shell=True)
subprocess.check_call("which python", stdout=sys.stdout, stderr=sys.stderr, shell=True)
subprocess.check_call("which pip", stdout=sys.stdout, stderr=sys.stderr, shell=True)
subprocess.check_call("which pip3", stdout=sys.stdout, stderr=sys.stderr, shell=True)
subprocess.check_call("conda list", stdout=sys.stdout, stderr=sys.stderr, shell=True)
subprocess.check_call("pip3 list", stdout=sys.stdout, stderr=sys.stderr, shell=True)

print_stats()

### BREATHE ###

from pathlib import Path
Expand Down

0 comments on commit e1526fd

Please sign in to comment.