def __init__(self):
    conf = luigi.configuration.get_config()
    default = os.environ.get('SCALA_HOME', '/usr/share/scala')
    self.scala_home = conf.get('scalding', 'scala-home', default)
    default = os.environ.get('SCALDING_HOME', '/usr/share/scalding')
    self.scalding_home = conf.get('scalding', 'scalding-home', default)
    self.provided_dir = conf.get('scalding', 'scalding-provided', os.path.join(default, 'provided'))
    self.libjars_dir = conf.get('scalding', 'scalding-libjars', os.path.join(default, 'libjars'))
    self.tmp_dir = LocalTarget(is_tmp=True)
def __init__(self):
    conf = luigi.configuration.get_config()
    default = os.environ.get('SCALA_HOME', '/usr/share/scala')
    self.scala_home = conf.get('scalding', 'scala-home', default)
    default = os.environ.get('SCALDING_HOME', '/usr/share/scalding')
    self.scalding_home = conf.get('scalding', 'scalding-home', default)
    self.provided_dir = conf.get('scalding', 'scalding-provided', os.path.join(default, 'provided'))
    self.libjars_dir = conf.get('scalding', 'scalding-libjars', os.path.join(default, 'libjars'))
    self.tmp_dir = LocalTarget(is_tmp=True)