-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathsetup.py
More file actions
55 lines (51 loc) · 1.63 KB
/
setup.py
File metadata and controls
55 lines (51 loc) · 1.63 KB
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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import codecs
from setuptools import setup
from pisces import __version__
def read(fname):
"""Loads the contents of a file, returning it as a string"""
filepath = os.path.join(os.path.dirname(__file__), fname)
return codecs.open(filepath, 'r', 'utf8').read()
setup(
name="python-pisces",
version=__version__,
description='Use keywords to search for and download images.',
long_description=read("README.md"),
long_description_content_type="text/markdown",
author='wolfhong',
author_email='hongxucai1991@gmail.com',
url='https://github.com/wolfhong/python-pisces',
classifiers=[
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 3",
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Topic :: Software Development :: Libraries",
"Topic :: Utilities",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX :: Linux",
"Operating System :: MacOS :: MacOS X",
],
keywords=[
'download-images', 'search-images', 'algorithm-training', 'image-dataset',
'google', 'baidu',
],
license="MIT",
packages=['pisces', ],
package_data={"pisces": ["tools/chromedriver*"]},
platforms='any',
install_requires=[
'selenium>=3.8.0',
'requests',
],
python_requires='>=2.7, <4',
entry_points={
'console_scripts': [
'pisces=pisces.command:main',
],
},
)