File: setup.py

package info (click to toggle)
python-imagehash 4.3.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,060 kB
  • sloc: python: 1,041; makefile: 81; sh: 31
file content (33 lines) | stat: -rw-r--r-- 770 bytes parent folder | download | duplicates (2)
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
33
#!/usr/bin/env python
# -*- coding: utf-8 -*-

try:
	from setuptools import setup
except BaseException:
	from distutils.core import setup

long_description = ''
with open('README.rst') as f:
	long_description = f.read()

setup(
	name='ImageHash',
	version='4.3.2',
	author='Johannes Buchner',
	author_email='buchner.johannes@gmx.at',
	packages=['imagehash'],
	package_data={'imagehash': ['py.typed']},
	url='https://github.com/JohannesBuchner/imagehash',
	license='2-clause BSD License',
	description='Image Hashing library',
	long_description=long_description,
	long_description_content_type='text/x-rst',
	install_requires=[
		'numpy',
		'scipy',		# for phash
		'pillow',		# or PIL
		'PyWavelets',  # for whash
	],
	test_suite='tests',
	tests_require=['pytest>=3'],
)