Skip to content

Commit 14f30e3

Browse files
authored
Merge pull request #1 from rstoneback/develop
Improved documentation and metadata.
2 parents 65973c9 + 063c056 commit 14f30e3

6 files changed

Lines changed: 290 additions & 45 deletions

File tree

MANIFEST.in

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
recursive-include pysatMagVect *.txt
1+
include pysatMagVect/version.txt
2+
include LICENSE
3+
include CONTRIBUTING.md

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ def __getattr__(cls, name):
285285
# One entry per manual page. List of tuples
286286
# (source start file, name, description, authors, manual section).
287287
man_pages = [
288-
(master_doc, 'pysat', u'pysatMagVect Documentation',
288+
(master_doc, 'pysatMagVect', u'pysatMagVect Documentation',
289289
[author], 1)
290290
]
291291

pysatMagVect/__init__.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,13 @@
55
__version__ = version_file.read().strip()
66
del here
77

8-
from . import igrf
8+
on_rtd = os.environ.get('ONREADTHEDOCS') == 'True'
9+
10+
if not on_rtd:
11+
from . import igrf
12+
else:
13+
igrf = None
14+
915
from . import _core
1016
from ._core import *
1117

0 commit comments

Comments
 (0)