Commit b9b82e2516843d4c5d2d0d72ee35461e74cc9b1a
1 parent
f1944c35
olevba: added pyparsing into thirdparty folder
Showing
2 changed files
with
7 additions
and
4 deletions
oletools/olevba.py
| ... | ... | @@ -208,9 +208,7 @@ except ImportError: |
| 208 | 208 | import thirdparty.olefile as olefile |
| 209 | 209 | from thirdparty.prettytable import prettytable |
| 210 | 210 | from thirdparty.xglob import xglob |
| 211 | - | |
| 212 | -# TODO: move to thirdparty | |
| 213 | -from pyparsing import * | |
| 211 | +from thirdparty.pyparsing.pyparsing import * | |
| 214 | 212 | |
| 215 | 213 | |
| 216 | 214 | ... | ... |
setup.py
| ... | ... | @@ -15,6 +15,7 @@ to install this package. |
| 15 | 15 | # 2015-01-05 v0.07: - added xglob, prettytable |
| 16 | 16 | # 2015-02-08 v0.08: - added DridexUrlDecoder |
| 17 | 17 | # 2015-03-23 v0.09: - updated description and classifiers, added shebang line |
| 18 | +# 2015-06-16 v0.10: - added pyparsing | |
| 18 | 19 | |
| 19 | 20 | #--- TODO --------------------------------------------------------------------- |
| 20 | 21 | |
| ... | ... | @@ -36,7 +37,7 @@ import sys, os, fnmatch |
| 36 | 37 | #--- METADATA ----------------------------------------------------------------- |
| 37 | 38 | |
| 38 | 39 | name = "oletools" |
| 39 | -version = '0.11' | |
| 40 | +version = '0.12' | |
| 40 | 41 | desc = "Python tools to analyze security characteristics of MS Office and OLE files (also called Structured Storage, Compound File Binary Format or Compound Document File Format), for Malware Analysis and Incident Response #DFIR" |
| 41 | 42 | long_desc = open('oletools/README.rst').read() |
| 42 | 43 | author ="Philippe Lagadec" |
| ... | ... | @@ -74,6 +75,7 @@ packages=[ |
| 74 | 75 | 'oletools.thirdparty.prettytable', |
| 75 | 76 | 'oletools.thirdparty.xglob', |
| 76 | 77 | 'oletools.thirdparty.DridexUrlDecoder', |
| 78 | + 'oletools.thirdparty.pyparsing', | |
| 77 | 79 | ] |
| 78 | 80 | ##setupdir = '.' |
| 79 | 81 | ##package_dir={'': setupdir} |
| ... | ... | @@ -168,6 +170,9 @@ package_data={ |
| 168 | 170 | 'oletools.thirdparty.DridexUrlDecoder': [ |
| 169 | 171 | 'LICENSE.txt', |
| 170 | 172 | ], |
| 173 | + 'oletools.thirdparty.pyparsing': [ | |
| 174 | + 'LICENSE', 'README', | |
| 175 | + ], | |
| 171 | 176 | } |
| 172 | 177 | |
| 173 | 178 | ... | ... |