Skip to content

Commit 1839a37

Browse files
Fix issue where "distance" was not being imported by __init__
1 parent 992285c commit 1839a37

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

CHANGES.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
v0.4.1, 2016-09-24 -- Fix issue where `distance` wasn't being imported by __init__.
12
v0.3.2, 2015-08-01 -- Fixes a loss of precision when using hash_size other than 8.
23
v0.3.1, 2015-07-25 -- Fixes a memory leak in average hash algorithm.
34
v0.2.1, 2013-11-27 -- Fixes license in setup.py.

photohash/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
from .photohash import average_hash, hash_distance, is_look_alike, hashes_are_similar
1+
from .photohash import *
22

3-
__version__ = '0.4.0'
3+
__version__ = '0.4.1'

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
name='Photohash',
2020
packages=find_packages(),
2121
url='https://github.com/bunchesofdonald/photohash',
22-
version='0.4.0',
22+
version='0.4.1',
2323
install_requires=[
2424
'Pillow>=2.1.0',
2525
],

0 commit comments

Comments
 (0)