Loading ale/__init__.py +18 −0 Original line number Diff line number Diff line from . import drivers from . import formatters from .drivers import load, loads import os from pkg_resources import get_distribution, DistributionNotFound try: _dist = get_distribution('ale') # Normalize case for Windows systems dist_loc = os.path.normcase(_dist.location) here = os.path.normcase(__file__) if not here.startswith(os.path.join(dist_loc, 'ale')): # not installed, but there is another version that *is* raise DistributionNotFound except DistributionNotFound: __version__ = 'Please install this project with setup.py' else: __version__ = _dist.version ale/config.py +1 −2 Original line number Diff line number Diff line Loading @@ -10,4 +10,3 @@ mro = '/data/spice/mro-m-spice-6-v1.0/mrosp_1000/extras/mk' # Mars Reconnaissanc kaguya = '/data/spice/SELENE/kernels/mk/' dawn = '/data/spice/dawn-m_a-spice-6-v1.0/dawnsp_1000/extras/mk' lro = '/usgs/cpkgs/isis3/data/lro/kernels/mk/' # LRO setup.py +1 −1 Original line number Diff line number Diff line Loading @@ -4,7 +4,7 @@ import sys from setuptools import setup, find_packages NAME = "Ale" VERSION = "0.0.3" VERSION = "0.2.0" # To install the library, run the following # Loading Loading
ale/__init__.py +18 −0 Original line number Diff line number Diff line from . import drivers from . import formatters from .drivers import load, loads import os from pkg_resources import get_distribution, DistributionNotFound try: _dist = get_distribution('ale') # Normalize case for Windows systems dist_loc = os.path.normcase(_dist.location) here = os.path.normcase(__file__) if not here.startswith(os.path.join(dist_loc, 'ale')): # not installed, but there is another version that *is* raise DistributionNotFound except DistributionNotFound: __version__ = 'Please install this project with setup.py' else: __version__ = _dist.version
ale/config.py +1 −2 Original line number Diff line number Diff line Loading @@ -10,4 +10,3 @@ mro = '/data/spice/mro-m-spice-6-v1.0/mrosp_1000/extras/mk' # Mars Reconnaissanc kaguya = '/data/spice/SELENE/kernels/mk/' dawn = '/data/spice/dawn-m_a-spice-6-v1.0/dawnsp_1000/extras/mk' lro = '/usgs/cpkgs/isis3/data/lro/kernels/mk/' # LRO
setup.py +1 −1 Original line number Diff line number Diff line Loading @@ -4,7 +4,7 @@ import sys from setuptools import setup, find_packages NAME = "Ale" VERSION = "0.0.3" VERSION = "0.2.0" # To install the library, run the following # Loading