Skip to content

Commit

Permalink
Merge pull request #625 from jbouffard/bug-fix/jars-constant
Browse files Browse the repository at this point in the history
Renamed GEOTRELLIS_JAR Back to JAR
  • Loading branch information
Jacob Bouffard committed Jan 25, 2018
2 parents 5396a1d + 7e4e6fe commit ee3a9d9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions geopyspark/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from geopyspark.geopyspark_utils import ensure_pyspark
ensure_pyspark()

from geopyspark.geopyspark_constants import GEOTRELLIS_JAR
from geopyspark.geopyspark_constants import JAR
from pyspark import RDD, SparkConf, SparkContext
from pyspark.serializers import AutoBatchedSerializer
from py4j.java_gateway import JavaClass, JavaObject
Expand Down Expand Up @@ -99,7 +99,7 @@ def geopyspark_conf(master=None, appName=None, additional_jar_dirs=[]):
possible_jars.append(os.path.relpath(config_file.read(), cwd))

module_jars = [
os.path.abspath(resource_filename('geopyspark.jars', GEOTRELLIS_JAR))
os.path.abspath(resource_filename('geopyspark.jars', JAR))
]

jar_dirs = [(jar, os.path.dirname(jar)) for jar in module_jars]
Expand Down
2 changes: 1 addition & 1 deletion geopyspark/geopyspark_constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
VERSION = '0.3.0'

"""Backend jar name."""
GEOTRELLIS_JAR = 'geotrellis-backend-assembly-' + VERSION + '.jar'
JAR = 'geotrellis-backend-assembly-' + VERSION + '.jar'

"""The current location of this file."""
CWD = path.abspath(path.dirname(__file__))

0 comments on commit ee3a9d9

Please sign in to comment.