Commit 5525fef1359556f3921d5a8a6df481011a15c158

Authored by decalage2
1 parent 43eabd0c

setup.py: added missing package zipfile27 (fixed issue #121)

Showing 1 changed file with 5 additions and 9 deletions
setup.py
@@ -21,6 +21,7 @@ to install this package. @@ -21,6 +21,7 @@ to install this package.
21 # 2016-07-19 v0.50 PL: - create CLI scripts using entry points (by 2*yo) 21 # 2016-07-19 v0.50 PL: - create CLI scripts using entry points (by 2*yo)
22 # 2016-07-29 PL: - use setuptools if available 22 # 2016-07-29 PL: - use setuptools if available
23 # 2016-09-05 PL: - added more entry points 23 # 2016-09-05 PL: - added more entry points
  24 +# 2017-01-18 v0.51 PL: - added package zipfile27 (issue #121)
24 25
25 #--- TODO --------------------------------------------------------------------- 26 #--- TODO ---------------------------------------------------------------------
26 27
@@ -80,6 +81,7 @@ packages=[ @@ -80,6 +81,7 @@ packages=[
80 'oletools.thirdparty.pyparsing', 81 'oletools.thirdparty.pyparsing',
81 'oletools.thirdparty.colorclass', 82 'oletools.thirdparty.colorclass',
82 'oletools.thirdparty.tablestream', 83 'oletools.thirdparty.tablestream',
  84 + 'oletools.thirdparty.zipfile27',
83 ] 85 ]
84 ##setupdir = '.' 86 ##setupdir = '.'
85 ##package_dir={'': setupdir} 87 ##package_dir={'': setupdir}
@@ -180,6 +182,9 @@ package_data={ @@ -180,6 +182,9 @@ package_data={
180 'oletools.thirdparty.colorclass': [ 182 'oletools.thirdparty.colorclass': [
181 'LICENSE.txt', 183 'LICENSE.txt',
182 ], 184 ],
  185 + 'oletools.thirdparty.zipfile27': [
  186 + 'LICENSE.txt',
  187 + ],
183 # 'oletools.thirdparty.tablestream': [ 188 # 'oletools.thirdparty.tablestream': [
184 # 'LICENSE', 'README', 189 # 'LICENSE', 'README',
185 # ], 190 # ],
@@ -285,16 +290,7 @@ entry_points = { @@ -285,16 +290,7 @@ entry_points = {
285 # === MAIN ===================================================================== 290 # === MAIN =====================================================================
286 291
287 def main(): 292 def main():
288 - # TODO: remove this test once all tools are ported to Python 3  
289 # TODO: warning about Python 2.6 293 # TODO: warning about Python 2.6
290 -# if sys.version >= '3.0':  
291 -# s = "Sorry, %s %s requires Python 2.x."  
292 -# print(s % (name, version))  
293 -# sys.exit(1)  
294 -# ## if sys.version < required_python_version:  
295 -## s = "I'm sorry, but %s %s requires Python %s or later."  
296 -## print(s % (name, version, required_python_version))  
297 -## sys.exit(1)  
298 ## # set default location for "data_files" to 294 ## # set default location for "data_files" to
299 ## # platform specific "site-packages" location 295 ## # platform specific "site-packages" location
300 ## for scheme in list(INSTALL_SCHEMES.values()): 296 ## for scheme in list(INSTALL_SCHEMES.values()):