-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
44 lines (38 loc) · 1000 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
33
34
35
36
37
38
39
40
41
42
43
44
import os
from setuptools import find_packages
from setuptools import setup
def read_file(name):
dir_path = os.path.dirname(os.path.abspath(__file__))
with open(os.path.join(dir_path, name)) as opened_file:
return opened_file.read().strip()
version = read_file('version.txt')
description = read_file('README.rst')
setup(
name='imagedownloader',
version=version,
description=description,
long_description='',
classifiers=[
"Programming Language :: Python",
"Programming Language :: Python :: 3.6",
],
keywords='',
author='Taito Horiuchi',
author_email='taito.horiuchi@gmail.com',
url='',
license='BSD-3 clause',
packages=find_packages(),
include_package_data=True,
zip_safe=False,
install_requires=[
'requests',
],
tests_require=[
'pytest',
],
entry_points="""
# -*- Entry points: -*-
[console_scripts]
downloadimages=imagedownloader:downloadimages
"""
)