Skip to content

Commit bc1f9d8

Browse files
committed
Remove obsolete _astropy_init.py
Fixes #248.
1 parent 18e8314 commit bc1f9d8

File tree

3 files changed

+5
-21
lines changed

3 files changed

+5
-21
lines changed

astropy_healpix/__init__.py

+5-6
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,10 @@
44
BSD-licensed HEALPix for Astropy.
55
"""
66

7-
# Packages may add whatever they like to this file, but
8-
# should keep this content at the top.
9-
# ----------------------------------------------------------------------------
10-
from ._astropy_init import * # noqa
11-
# ----------------------------------------------------------------------------
12-
137
from .high_level import * # noqa
148
from .core import * # noqa
9+
10+
try:
11+
from .version import version as __version__
12+
except ImportError:
13+
__version__ = ''

astropy_healpix/_astropy_init.py

-13
This file was deleted.

setup.cfg

-2
Original file line numberDiff line numberDiff line change
@@ -48,14 +48,12 @@ addopts = --doctest-rst
4848

4949
[coverage:run]
5050
omit =
51-
astropy_healpix/_astropy_init*
5251
astropy_healpix/conftest.py
5352
astropy_healpix/*setup_package*
5453
astropy_healpix/tests/*
5554
astropy_healpix/*/tests/*
5655
astropy_healpix/extern/*
5756
astropy_healpix/version*
58-
*/astropy_healpix/_astropy_init*
5957
*/astropy_healpix/conftest.py
6058
*/astropy_healpix/*setup_package*
6159
*/astropy_healpix/tests/*

0 commit comments

Comments
 (0)