-
Notifications
You must be signed in to change notification settings - Fork 33
/
Copy pathsetup.py
64 lines (51 loc) · 1.63 KB
/
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
import os
from setuptools import setup
def readme():
with open('README.md') as f:
return f.read()
def version():
with open(os.path.join('.', 'google_images_search', 'meta.py')) as f:
contents = f.read()
return contents.split('__version__ = ')[1].strip()[1:-1]
setup(
name='Google Images Search',
version=version(),
description='Search for image using Google Custom Search '
'API and resize & crop the image afterwords',
long_description=readme(),
long_description_content_type='text/markdown',
url='https://github.com/arrrlo/Google-Images-Search',
licence='MIT',
author='Ivan Arar',
author_email='[email protected]',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Topic :: Software Development :: Build Tools',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
],
keywords='google images, resize, crop',
packages=['google_images_search'],
install_requires=[
'colorama~=0.4',
'pyfiglet~=0.8',
'termcolor~=1.1',
'click>=7.0, <=8.2',
'six~=1.12',
'requests~=2.21',
'Pillow>=8.1.1',
'python-resize-image~=1.1',
'google-api-python-client~=2.48.0',
],
entry_points={
'console_scripts': [
'gimages=google_images_search.cli:cli'
],
},
project_urls={
'Source': 'https://github.com/arrrlo/Google-Images-Search',
},
)