Skip to content
Snippets Groups Projects
Commit 304774d7 authored by Nikolay Ivanov's avatar Nikolay Ivanov
Browse files

removing channel_priority, readthedocs fixes

parent e3cc07b3
Branches
Tags
No related merge requests found
......@@ -12,9 +12,15 @@
#
import os
import sys
sys.path.insert(0, os.path.abspath('../'))
if (os.environ.get("READTHEDOCS") == "True") is False:
sys.path.insert(0, os.path.abspath('..'))
else:
import site
p = site.getsitepackages()[0]
sys.path.insert(0, p)
# -- Project information -----------------------------------------------------
project = 'robust_speckle_tracking'
......
......@@ -2,7 +2,6 @@ name: rst
channels:
- conda-forge
- defaults
channel_priority: strict
dependencies:
- cython
- python=3.7
......
......@@ -2,7 +2,6 @@ name: rst
channels:
- conda-forge
- defaults
channel_priority: strict
dependencies:
- cython
- python=3.7
......
# readthedocs.yml
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
# Required
version: 2
# Build documentation in the docs/ directory with Sphinx
sphinx:
configuration: docs/conf.py
build:
image: latest
conda:
environment: docs/rtd_environment.yml
environment: docs/rtd_environment.yml
python:
version: 3.7
install:
- method: setuptools
path: .
\ No newline at end of file
version: 3.7
setup_py_install: true
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment