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

def print_stats():
def run_cmd(cmd):
import subprocess
cmd = """
echo '--------------------------------------------------------------'
echo "CMD: {cmd}"
{cmd}
echo '--------------------------------------------------------------'""".format(cmd=cmd)
subprocess.check_call(cmd, stdout=sys.stdout, stderr=sys.stderr, shell=True)

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 dc605a5

Please sign in to comment.