~ubuntu-branches/ubuntu/wily/pyfits/wily-proposed

« back to all changes in this revision

Viewing changes to lib/pyfits/__init__.py

  • Committer: Package Import Robot
  • Author(s): Aurelien Jarno
  • Date: 2012-12-30 15:03:07 UTC
  • mfrom: (1.1.9)
  • Revision ID: package-import@ubuntu.com-20121230150307-ltycp0zrtyh53gd8
Tags: 1:3.1-1
* New upstream version.
  - Refreshed 01-zlib.diff.
  - Added 02-disable-version-setup-hook.diff to prevent version.py to
    be regenerated with a timestamp at clean time.
* Compress source and .deb with xz.
* Bump Standards-Version to 3.9.4.0 (no changes).

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
from __future__ import division # confidence high
4
4
 
5
5
try:
6
 
    import pkg_resources
7
 
    __version__ = pkg_resources.get_distribution('pyfits').version
 
6
    from pyfits.version import __version__
8
7
except:
9
8
    __version__ = ''
10
9
 
11
10
# Import the pyfits core module.
12
11
import pyfits.core
13
 
import pyfits.util
14
12
from pyfits.core import *
15
13
from pyfits.util import *
16
14
 
17
15
__doc__ = pyfits.core.__doc__
18
16
 
19
 
__all__ = pyfits.core.__all__ + pyfits.util.__all__
 
17
__all__ = pyfits.core.__all__
 
18
 
20
19
 
21
20
try:
22
21
    import stsci.tools.tester