コード例 #1
0
ファイル: __init__.py プロジェクト: AtomLaw/Superdesk
def deploy():
    if exiv2_dir_path():
        sys, rel, _ver, deployed = deployTool(join(pythonPath(), 'resources', 'exiv2'), exiv2_dir_path())
        if not deployed:
            log.error('Unable to deploy Exiv2 on %s %s!\n    You must install it manually '
                      'and set the proper path in the plugins.properties\n    file for the property '
                      'metadata_extractor_path (e.g. /usr/bin/exiv2).' % (sys, rel))
コード例 #2
0
def deploy():
    if gm_dir_path():
        sys, rel, _ver, deployed = deployTool(join(pythonPath(), 'resources', 'gm'), gm_dir_path())
        if not deployed:
            log.error('Unable to deploy GraphicsMagic on %s %s!\n    You must install it manually '
                      'and set the proper path in the plugins.properties\n    file for the property '
                      'gm_path (e.g. /usr/bin/gm).' % (sys, rel))
コード例 #3
0
ファイル: __init__.py プロジェクト: AtomLaw/Superdesk
def deploy():
    if ffmpeg_dir_path():
        sys, rel, _ver, deployed = deployTool(join(pythonPath(), 'resources', 'ffmpeg'), ffmpeg_dir_path())
        if not deployed:
            log.error('Unable to deploy FFMpeg on %s %s!\n    You must install it manually '
                      'and set the proper path in the plugins.properties\n    file for the property '
                      'ffmpeg_path (e.g. /usr/bin/ffmpeg).' % (sys, rel))
コード例 #4
0
ファイル: __init__.py プロジェクト: rismalrv/Superdesk
def deploy():
    if ffmpeg_dir_path():
        sys, rel, _ver, deployed = deployTool(
            join(pythonPath(), 'resources', 'ffmpeg'), ffmpeg_dir_path())
        if not deployed:
            log.error(
                'Unable to deploy FFMpeg on %s %s!\n    You must install it manually '
                'and set the proper path in the plugins.properties\n    file for the property '
                'ffmpeg_path (e.g. /usr/bin/ffmpeg).' % (sys, rel))
コード例 #5
0
def deploy():
    if exiv2_dir_path():
        sys, rel, _ver, deployed = deployTool(
            join(pythonPath(), 'resources', 'exiv2'), exiv2_dir_path())
        if not deployed:
            log.error(
                'Unable to deploy Exiv2 on %s %s!\n    You must install it manually '
                'and set the proper path in the plugins.properties\n    file for the property '
                'metadata_extractor_path (e.g. /usr/bin/exiv2).' % (sys, rel))
コード例 #6
0
ファイル: __init__.py プロジェクト: adityaathalye/Superdesk
def deploy():
    if exiv2_dir_path(): deployTool(join(pythonPath(), 'resources', 'exiv2'), exiv2_dir_path())
コード例 #7
0
ファイル: __init__.py プロジェクト: gizm0bill/Superdesk
def deploy():
    if gm_dir_path(): deployTool(join(pythonPath(), 'resources', 'gm'), gm_dir_path())
コード例 #8
0
ファイル: __init__.py プロジェクト: poderomedia/Superdesk
def deploy():
    if exiv2_dir_path():
        deployTool(join(pythonPath(), 'resources', 'exiv2'), exiv2_dir_path())
コード例 #9
0
def deploy():
    if ffmpeg_dir_path():
        deployTool(join(pythonPath(), 'resources', 'ffmpeg'),
                   ffmpeg_dir_path())
コード例 #10
0
ファイル: __init__.py プロジェクト: adityaathalye/Superdesk
def deploy():
    if ffmpeg_dir_path(): deployTool(join(pythonPath(), 'resources', 'ffmpeg'), ffmpeg_dir_path())