Before you can use the Python scripts bundled with this repository, you will need to get the following pre-requisites installed and running on your machine:
- Python 3.4.3
- Python 3.4 Packages:
- gitdb (version 0.6.4)
- GitPython (version 1.0.1)
- lxml (version 3.4.4)
- smmap (version 0.9.0)
- Whoosh (version 2.7.0)
Please note: this documentation is a work in progress. If you have questions or suggestions, please create an issue with a full description of your question or idea.
- Install Python 3.4.3
- Install following these instructions https://www.python.org/downloads/windows/
- Add
C:\Python34
toPATH
(assuming you installed to the default location) - Upgrade PIP via CLI:
python -m pip install -U pip
- Install lxml from wheel
- Download the appropriate wheel file from http://www.lfd.uci.edu/~gohlke/pythonlibs/#lxml
- Install via CLI:
python -m pip install <downloaded wheel file>
- Install Other Prerequisites
- CD to OVALRepo/scripts
- Install via CLI:
python -m pip install -r requirements.txt
- Install Python 3.4.3
- Install following these instructions https://www.python.org/downloads/OSX
- Upgrade PIP via CLI:
pip3 install -U pip
- Install Other Prerequisites
- CD to OVALRepo/scripts
- Install via CLI:
pip3 install -r requirements.txt
- Install Python 3.4.3
- Install via CLI:
sudo apt-get install python3
- Upgrade PIP via CLI:
pip3 install -U pip
- Install Other Prerequisites
- CD to OVALRepo/scripts
- Install via CLI:
pip3 install -r requirements.txt