From 5525fef1359556f3921d5a8a6df481011a15c158 Mon Sep 17 00:00:00 2001 From: decalage2 Date: Wed, 18 Jan 2017 22:46:13 +0100 Subject: [PATCH] setup.py: added missing package zipfile27 (fixed issue #121) --- setup.py | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/setup.py b/setup.py index d3c42ad..b50b3ab 100644 --- a/setup.py +++ b/setup.py @@ -21,6 +21,7 @@ to install this package. # 2016-07-19 v0.50 PL: - create CLI scripts using entry points (by 2*yo) # 2016-07-29 PL: - use setuptools if available # 2016-09-05 PL: - added more entry points +# 2017-01-18 v0.51 PL: - added package zipfile27 (issue #121) #--- TODO --------------------------------------------------------------------- @@ -80,6 +81,7 @@ packages=[ 'oletools.thirdparty.pyparsing', 'oletools.thirdparty.colorclass', 'oletools.thirdparty.tablestream', + 'oletools.thirdparty.zipfile27', ] ##setupdir = '.' ##package_dir={'': setupdir} @@ -180,6 +182,9 @@ package_data={ 'oletools.thirdparty.colorclass': [ 'LICENSE.txt', ], + 'oletools.thirdparty.zipfile27': [ + 'LICENSE.txt', + ], # 'oletools.thirdparty.tablestream': [ # 'LICENSE', 'README', # ], @@ -285,16 +290,7 @@ entry_points = { # === MAIN ===================================================================== def main(): - # TODO: remove this test once all tools are ported to Python 3 # TODO: warning about Python 2.6 -# if sys.version >= '3.0': -# s = "Sorry, %s %s requires Python 2.x." -# print(s % (name, version)) -# sys.exit(1) -# ## if sys.version < required_python_version: -## s = "I'm sorry, but %s %s requires Python %s or later." -## print(s % (name, version, required_python_version)) -## sys.exit(1) ## # set default location for "data_files" to ## # platform specific "site-packages" location ## for scheme in list(INSTALL_SCHEMES.values()): -- libgit2 0.21.4