forked from JohannesBuchner/imagehash
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
32 lines (29 loc) · 922 Bytes
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
import os.path
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
long_description = ""
with open('README.rst') as f:
long_description = f.read()
setup(
name='ImageHash',
version=open(os.path.join('imagehash', 'VERSION')).read().strip(),
author='Johannes Buchner',
author_email='buchner.johannes@gmx.at',
packages=['imagehash', 'imagehash.tests'],
package_data={'imagehash': [os.path.join('tests', 'data', '*'), 'VERSION']},
scripts=['find_similar_images.py'],
url='https://github.com/JohannesBuchner/imagehash',
license='BSD 2-clause (see LICENSE file)',
description='Image Hashing library',
long_description=long_description,
install_requires=[
"six",
"numpy",
"scipy", # for phash
"pillow", # or PIL
"PyWavelets", # for whash
],
test_suite='imagehash.tests'
)