From 71c424395e146d14014e2889bea889d86622b734 Mon Sep 17 00:00:00 2001 From: James Fairbanks Date: Wed, 13 Dec 2017 08:49:40 -0500 Subject: [PATCH 1/2] update setup.py zip command to python3 --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index ff5fba60..43c5efcf 100644 --- a/setup.py +++ b/setup.py @@ -43,7 +43,7 @@ x.close() z.close() print(n) - print(hashlib.sha256(open(z.filename).read()).hexdigest()) + print(hashlib.sha256(open(z.filename, 'rb').read()).hexdigest()) sys.exit(0) #--------------------------------------------------------------------------------------------------- From bdf18d6ef8e615b60e7151fb1a2d1a7af7463d99 Mon Sep 17 00:00:00 2001 From: James Fairbanks Date: Wed, 13 Dec 2017 08:51:01 -0500 Subject: [PATCH 2/2] bump version number for python3 version --- pattern/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pattern/__init__.py b/pattern/__init__.py index 000e7417..58ef47e0 100644 --- a/pattern/__init__.py +++ b/pattern/__init__.py @@ -44,7 +44,7 @@ __author__ = "Tom De Smedt" __credits__ = "Tom De Smedt, Walter Daelemans" -__version__ = "2.6" +__version__ = "2.7_alpha" __copyright__ = "Copyright (c) 2010 University of Antwerp (BE)" __license__ = "BSD"