Skip to content

Latest commit

 

History

History
48 lines (39 loc) · 1.76 KB

README.scripting.setup.md

File metadata and controls

48 lines (39 loc) · 1.76 KB

Get Python 3.4 & Required Packages

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)

Status: Work in Progress

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.

Windows Instructions

  1. Install Python 3.4.3
  2. Install following these instructions https://www.python.org/downloads/windows/
  3. Add C:\Python34 to PATH (assuming you installed to the default location)
  4. Upgrade PIP via CLI: python -m pip install -U pip
  5. Install lxml from wheel
  6. Download the appropriate wheel file from http://www.lfd.uci.edu/~gohlke/pythonlibs/#lxml
  7. Install via CLI: python -m pip install <downloaded wheel file>
  8. Install Other Prerequisites
  9. CD to OVALRepo/scripts
  10. Install via CLI: python -m pip install -r requirements.txt

OSX Instructions

  1. Install Python 3.4.3
  2. Install following these instructions https://www.python.org/downloads/OSX
  3. Upgrade PIP via CLI: pip3 install -U pip
  4. Install Other Prerequisites
  5. CD to OVALRepo/scripts
  6. Install via CLI: pip3 install -r requirements.txt

Linux (Debian/Ubuntu) Instructions

  1. Install Python 3.4.3
  2. Install via CLI: sudo apt-get install python3
  3. Upgrade PIP via CLI: pip3 install -U pip
  4. Install Other Prerequisites
  5. CD to OVALRepo/scripts
  6. Install via CLI: pip3 install -r requirements.txt