Commit 6f825692 authored by Stefan Mauerberger's avatar Stefan Mauerberger
Browse files

Fixes bare except with pass

parent bcc94099
......@@ -31,12 +31,7 @@ command_options = dict()
try:
from sphinx.setup_command import BuildDoc
cmdclass['build_sphinx'] = BuildDoc
# Override docs/conf.py settings
command_options['build_sphinx'] = {'project': ('dfetup.py', name),
'release': ('dfetup.py', version),
'copyright': ('dfetup.py', copyright),
'source_dir': ('dfetup.py', 'docs')}
except:
except ModuleNotFoundError:
pass
......@@ -59,6 +54,11 @@ name = 'pymagglobal'
version = get_version('pymagglobal/__init__.py')
description = '''python interface for global geomagnetic field models '''
copyright = '2020 Helmholtz Centre Potsdam GFZ, German Research Centre for Geosciences, Potsdam, Germany'
# Override docs/conf.py settings
command_options['build_sphinx'] = {'project': ('dfetup.py', name),
'release': ('dfetup.py', version),
'copyright': ('dfetup.py', copyright),
'source_dir': ('dfetup.py', 'docs')}
setup(
name=name,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment