Commit b9b82e2516843d4c5d2d0d72ee35461e74cc9b1a

Authored by Philippe Lagadec
1 parent f1944c35

olevba: added pyparsing into thirdparty folder

oletools/olevba.py
@@ -208,9 +208,7 @@ except ImportError: @@ -208,9 +208,7 @@ except ImportError:
208 import thirdparty.olefile as olefile 208 import thirdparty.olefile as olefile
209 from thirdparty.prettytable import prettytable 209 from thirdparty.prettytable import prettytable
210 from thirdparty.xglob import xglob 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,6 +15,7 @@ to install this package.
15 # 2015-01-05 v0.07: - added xglob, prettytable 15 # 2015-01-05 v0.07: - added xglob, prettytable
16 # 2015-02-08 v0.08: - added DridexUrlDecoder 16 # 2015-02-08 v0.08: - added DridexUrlDecoder
17 # 2015-03-23 v0.09: - updated description and classifiers, added shebang line 17 # 2015-03-23 v0.09: - updated description and classifiers, added shebang line
  18 +# 2015-06-16 v0.10: - added pyparsing
18 19
19 #--- TODO --------------------------------------------------------------------- 20 #--- TODO ---------------------------------------------------------------------
20 21
@@ -36,7 +37,7 @@ import sys, os, fnmatch @@ -36,7 +37,7 @@ import sys, os, fnmatch
36 #--- METADATA ----------------------------------------------------------------- 37 #--- METADATA -----------------------------------------------------------------
37 38
38 name = "oletools" 39 name = "oletools"
39 -version = '0.11' 40 +version = '0.12'
40 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 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 long_desc = open('oletools/README.rst').read() 42 long_desc = open('oletools/README.rst').read()
42 author ="Philippe Lagadec" 43 author ="Philippe Lagadec"
@@ -74,6 +75,7 @@ packages=[ @@ -74,6 +75,7 @@ packages=[
74 'oletools.thirdparty.prettytable', 75 'oletools.thirdparty.prettytable',
75 'oletools.thirdparty.xglob', 76 'oletools.thirdparty.xglob',
76 'oletools.thirdparty.DridexUrlDecoder', 77 'oletools.thirdparty.DridexUrlDecoder',
  78 + 'oletools.thirdparty.pyparsing',
77 ] 79 ]
78 ##setupdir = '.' 80 ##setupdir = '.'
79 ##package_dir={'': setupdir} 81 ##package_dir={'': setupdir}
@@ -168,6 +170,9 @@ package_data={ @@ -168,6 +170,9 @@ package_data={
168 'oletools.thirdparty.DridexUrlDecoder': [ 170 'oletools.thirdparty.DridexUrlDecoder': [
169 'LICENSE.txt', 171 'LICENSE.txt',
170 ], 172 ],
  173 + 'oletools.thirdparty.pyparsing': [
  174 + 'LICENSE', 'README',
  175 + ],
171 } 176 }
172 177
173 178