File: Development-release-MacOS.md

package info (click to toggle)
plaso 20190131-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 410,832 kB
  • sloc: python: 76,636; sh: 926; makefile: 167; xml: 70; sql: 14; vhdl: 11
file content (30 lines) | stat: -rw-r--r-- 1,461 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Developing on MacOS

To download the latest version of Plaso you'll need to install the git tools: http://git-scm.com/downloads

Checkout the plaso source from the git repo:
```
git clone https://github.com/log2timeline/plaso.git
```

To be able to run the plaso [development release](Releases-and-roadmap.md) on MacOS you'll have to have installed the [dependencies](Dependencies.md).

Check if you have all the dependencies installed and have the right minimum version:
```bash
./utils/check_dependencies.py
```

**Note that some dependencies are actively under development and can be frequently updated, therefore we recommend checking the status of the dependencies regularly.**

If check_dependencies.py keeps indicating it detected an out of date version check if the following directory might still contain an older version:
```bash
/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/
```

Apple also ships version 2.0.1 of pyparsing under ```/System/Library/Frameworks/Python.framework``` which is loaded first, even if you have a newer pyparsing installed. You can work around this by specifying the PYTHONPATH when you run one of the command line tools - try ```PYTHONPATH=/Library/Python/2.7/site-packages:$PYTHONPATH ./tools/log2timeline.py --help``` if you're having problems.

## Development tools
If you intend to do development on plaso you'll also need to install some development tools:

* PyLint 1.7.x
* Python Mock