Skip to content

Commit

Permalink
Merge pull request #1 from rstoneback/develop
Browse files Browse the repository at this point in the history
Improved documentation and metadata.
  • Loading branch information
rstoneback authored Jul 6, 2018
2 parents 65973c9 + 063c056 commit 14f30e3
Show file tree
Hide file tree
Showing 6 changed files with 290 additions and 45 deletions.
4 changes: 3 additions & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
recursive-include pysatMagVect *.txt
include pysatMagVect/version.txt
include LICENSE
include CONTRIBUTING.md
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ def __getattr__(cls, name):
# One entry per manual page. List of tuples
# (source start file, name, description, authors, manual section).
man_pages = [
(master_doc, 'pysat', u'pysatMagVect Documentation',
(master_doc, 'pysatMagVect', u'pysatMagVect Documentation',
[author], 1)
]

Expand Down
8 changes: 7 additions & 1 deletion pysatMagVect/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,13 @@
__version__ = version_file.read().strip()
del here

from . import igrf
on_rtd = os.environ.get('ONREADTHEDOCS') == 'True'

if not on_rtd:
from . import igrf
else:
igrf = None

from . import _core
from ._core import *

Expand Down
Loading

0 comments on commit 14f30e3

Please sign in to comment.