Merge pull request #1025 from minrk/conda-rtd

don't install on RTD
This commit is contained in:
Thomas Kluyver 2016-01-29 21:22:55 +00:00
commit dc8ddec8b9
2 changed files with 8 additions and 6 deletions

View File

@ -27,12 +27,15 @@ print("================")
for item in sys.path:
print(item)
print("os.path.abspath('..')")
print("=====================")
print(os.path.abspath('..'))
# add repo root to sys.path
# here = root/docs/source
here = os.path.abspath(os.path.dirname(__file__))
repo_root = os.path.dirname(os.path.dirname(here))
sys.path.insert(0, repo_root)
# Insert absolute path into system path
sys.path.insert(0, os.path.abspath('..'))
print("repo_root")
print("=====================")
print(repo_root)
# DEBUG for post insert on RTD
print("DEBUG:: Post insert to sys.path")

View File

@ -2,4 +2,3 @@ conda:
file: docs/conda_env.yml
python:
version: 3
setup_py_install: true