-
Notifications
You must be signed in to change notification settings - Fork 10
/
setup.py
47 lines (41 loc) · 1.47 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
import os
from setuptools import setup
from codecs import open
here = os.path.abspath(os.path.dirname(__file__))
# Utility function to read the README file.
# Used for the long_description. It's nice, because now 1) we have a top level
# README file and 2) it's easier to type in the README file than to put a raw
# string in below ...
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
about = {}
with open(os.path.join(here, 'imagesoup', '__version__.py'), 'r', 'utf-8') as f:
exec(f.read(), about)
packages = ['imagesoup']
setup(
name=about['__title__'],
version=about['__version__'],
author=about['__author__'],
author_email=about['__author_email__'],
description=about['__description__'],
license=about['__license__'],
keywords = "search image google",
url = about['__url__'],
packages=packages,
install_requires=['beautifulsoup4>=4.5',
'pillow',
'requests',
'webcolors',
],
long_description=read('README.rst'),
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Topic :: Multimedia :: Graphics',
'Topic :: Internet :: WWW/HTTP :: Indexing/Search',
'License :: OSI Approved :: MIT License',
],
)