File tree 4 files changed +33
-16
lines changed
4 files changed +33
-16
lines changed Original file line number Diff line number Diff line change 1
1
version : 2
2
+
3
+ formats :
4
+ - pdf
5
+
6
+ python :
7
+ install :
8
+ - method : setuptools
9
+ path : .
Original file line number Diff line number Diff line change 8
8
9
9
author = 'David Fee & Liam Toney'
10
10
11
- extensions = ['sphinx.ext.autodoc' , 'sphinx.ext.napoleon' ,
12
- 'sphinx.ext.intersphinx' , 'recommonmark' , 'sphinx.ext.viewcode' ]
11
+ extensions = ['sphinx.ext.autodoc' ,
12
+ 'sphinx.ext.napoleon' ,
13
+ 'sphinx.ext.intersphinx' ,
14
+ 'recommonmark' ,
15
+ 'sphinx.ext.viewcode'
16
+ ]
13
17
14
18
# List of patterns, relative to source directory, that match files and
15
19
# directories to ignore when looking for source files.
22
26
23
27
master_doc = 'index'
24
28
25
- autodoc_mock_imports = ['waveform_collection' ]
29
+ autodoc_mock_imports = ['numpy' ,
30
+ 'matplotlib' ,
31
+ 'xarray' ,
32
+ 'cartopy' ,
33
+ 'osgeo' ,
34
+ 'obspy' ,
35
+ 'utm' ,
36
+ 'scipy' ,
37
+ 'mpl_toolkits'
38
+ ]
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
from setuptools import setup , find_packages
2
+ import os
3
+
4
+ # https://github.com/readthedocs/readthedocs.org/issues/5512#issuecomment-475073310
5
+ on_rtd = os .environ .get ('READTHEDOCS' ) == 'True'
6
+ if on_rtd :
7
+ INSTALL_REQUIRES = []
8
+ else :
9
+ INSTALL_REQUIRES = ['waveform_collection' ]
2
10
3
11
setup (
4
12
name = 'rtm' ,
5
13
packages = find_packages (),
6
- install_requires = 'waveform_collection'
14
+ install_requires = INSTALL_REQUIRES
7
15
)
You can’t perform that action at this time.
0 commit comments