Skip to content

Commit

Permalink
updated version number (#200)
Browse files Browse the repository at this point in the history
* version tick

* reverted config
  • Loading branch information
Kelvin Rodriguez authored and acpaquette committed Jul 10, 2019
1 parent eaa1384 commit 08014ab
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 3 deletions.
18 changes: 18 additions & 0 deletions ale/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
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

3 changes: 1 addition & 2 deletions ale/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,4 @@
mro = '/data/spice/mro-m-spice-6-v1.0/mrosp_1000/extras/mk' # Mars Reconnaissance Orbiter
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

lro = '/usgs/cpkgs/isis3/data/lro/kernels/mk/' # LRO
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from setuptools import setup, find_packages

NAME = "Ale"
VERSION = "0.0.3"
VERSION = "0.2.0"

# To install the library, run the following
#
Expand Down

0 comments on commit 08014ab

Please sign in to comment.