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 d04f211
Show file tree
Hide file tree
Showing 2 changed files with 17 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
17 changes: 17 additions & 0 deletions source/conf.py
Expand Up @@ -314,6 +314,23 @@
:format: html
"""

def print_stats():
def run_cmd(cmd):
import subprocess
print("--------------------------------------------------------------")
print("CMD: ", cmd)
subprocess.check_call(cmd, stdout=sys.stdout, stderr=sys.stderr, shell=True)
print("--------------------------------------------------------------")

run_cmd("which conda")
run_cmd("which python3")
run_cmd("which pip")
run_cmd("which pip3")
run_cmd("conda list")
run_cmd("pip list")

print_stats()

### BREATHE ###

from pathlib import Path
Expand Down

0 comments on commit d04f211

Please sign in to comment.