(self, env)
And PYTHONPATH and CCNET_CONF_DIR/SEAFILE_CONF_DIR to env, which is
        needed by seahub
And PYTHONPATH and CCNET_CONF_DIR/SEAFILE_CONF_DIR to env, which is
        needed by seahub
And PYTHONPATH and CCNET_CONF_DIR / SEAFILE_CONF_DIR to env which is needed by seahub
def setup_python_path(self, env):
        '''And PYTHONPATH and CCNET_CONF_DIR/SEAFILE_CONF_DIR to env, which is
        needed by seahub

        '''
        install_path = self.install_path
        pro_pylibs_dir = os.path.join(install_path, 'pro', 'python')
        extra_python_path = [
            pro_pylibs_dir,

            os.path.join(install_path, 'seahub', 'thirdpart'),
            os.path.join(install_path, 'seahub-extra'),
            os.path.join(install_path, 'seahub-extra', 'thirdparts'),

            os.path.join(install_path, 'seafile/lib/python3.6/site-packages'),
            os.path.join(install_path, 'seafile/lib64/python3.6/site-packages'),
        ]

        for path in extra_python_path:
            Utils.prepend_env_value('PYTHONPATH', path, env=env)
def setup_python_path ( self , env ) : install_path = self . install_path pro_pylibs_dir = os . path . join ( install_path , 'pro' , 'python' ) extra_python_path = [ pro_pylibs_dir , os . path . join ( install_path , 'seahub' , 'thirdpart' ) , os . path . join ( install_path , 'seahub-extra' ) , os . path . join ( install_path , 'seahub-extra' , 'thirdparts' ) , os . path . join ( install_path , 'seafile/lib/python3.6/site-packages' ) , os . path . join ( install_path , 'seafile/lib64/python3.6/site-packages' ) , ] for path in extra_python_path : Utils . prepend_env_value ( 'PYTHONPATH' , path , env = env )