File: check_dependencies.py

package info (click to toggle)
dfvfs 20160918-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 96,408 kB
  • ctags: 2,759
  • sloc: python: 22,682; makefile: 57; vhdl: 25; sh: 16
file content (20 lines) | stat: -rwxr-xr-x 550 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/python
# -*- coding: utf-8 -*-
"""Script to check for the availability and version of dependencies."""

from __future__ import print_function
import sys

# Change PYTHONPATH to include dfVFS.
sys.path.insert(0, u'.')

import dfvfs.dependencies


if __name__ == u'__main__':
  if not dfvfs.dependencies.CheckDependencies(latest_version_check=True):
    build_instructions_url = (
        u'https://github.com/log2timeline/dfvfs/wiki/Building')

    print(u'See: {0:s} on how to set up dfVFS.'.format(build_instructions_url))
    print(u'')