Commit d1f8f26e6f2f90f008a38bba64db2ce6e45aa670

Authored by decalage2
1 parent 3701ce92

setup: updated comments and version

Showing 1 changed file with 8 additions and 4 deletions
setup.py
... ... @@ -17,10 +17,10 @@ to install this package.
17 17 # 2015-03-23 v0.09: - updated description and classifiers, added shebang line
18 18 # 2015-06-16 v0.10: - added pyparsing
19 19 # 2016-02-08 v0.42: - added colorclass, tablestream
  20 +# 2016-07-19 v0.48: - create CLI scripts using entry points (by 2*yo)
20 21  
21 22 #--- TODO ---------------------------------------------------------------------
22 23  
23   -# - deploy scripts?
24 24 # - version for python 3 using 2to3
25 25  
26 26 #--- IMPORTS ------------------------------------------------------------------
... ... @@ -38,7 +38,7 @@ import sys, os, fnmatch
38 38 #--- METADATA -----------------------------------------------------------------
39 39  
40 40 name = "oletools"
41   -version = '0.47'
  41 +version = '0.48'
42 42 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"
43 43 long_desc = open('oletools/README.rst').read()
44 44 author = "Philippe Lagadec"
... ... @@ -257,7 +257,9 @@ package_data={
257 257 ##fix_data_files(data_files)
258 258  
259 259  
260   -#--- SCRIPTS ------------------------------------------------------------------
  260 +# --- SCRIPTS ------------------------------------------------------------------
  261 +
  262 +# Entry points to create convenient scripts automatically
261 263  
262 264 entry_points = {
263 265 'console_scripts': [
... ... @@ -270,9 +272,11 @@ entry_points = {
270 272 }
271 273  
272 274  
273   -#=== MAIN =====================================================================
  275 +# === MAIN =====================================================================
274 276  
275 277 def main():
  278 + # TODO: remove this test once all tools are ported to Python 3
  279 + # TODO: warning about Python 2.6
276 280 if sys.version >= '3.0':
277 281 s = "Sorry, %s %s requires Python 2.x."
278 282 print(s % (name, version))
... ...