#
# Created via https://cknow.io
#

import os

##############################################################################
# setup environment

def setup(i):

    s=''

    cus=i['customize']
    env=i['env']

    fp=cus.get('full_path','')

    ep=cus.get('env_prefix','')
    if ep!='' and fp!='':
       p1=os.path.dirname(fp)

       env[ep]=os.path.join(p1, 'src')

    return {'return':0, 'bat':s}