-
Notifications
You must be signed in to change notification settings - Fork 60
/
Copy pathsetup.py
55 lines (50 loc) · 1.58 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
# -*- coding: utf-8 -*-
"""
Explain To Me
=============
Automatic Web Article Summarizer
:copyright (c) 2015 Sang Han:
"""
import os
from setuptools import setup
def load_version(*filepath):
filepath = os.sep.join(filepath)
namespace = {}
with open(filepath) as f:
exec(compile(f.read(), filepath, 'exec'), {}, namespace)
return namespace
ver = load_version('ExplainToMe', 'version.py')
setup(
name='ExplainToMe',
description='Automatic Web Article Summarizer',
long_description='\n'.join(
[
open('README.md', 'rb').read().decode('utf-8'),
]
),
author='Sang Han',
license='Apache License 2.0',
url='https://github.com/jjangsangy/ExplainToMe',
author_email='[email protected]',
include_package_data=True,
packages=['ExplainToMe'],
version=ver['__version__'],
install_requires=['requests', 'sumy'],
zip_safe=False,
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Intended Audience :: Developers',
'Natural Language :: English',
'License :: OSI Approved :: Apache Software License',
'Operating System :: OS Independent',
'Programming Language :: Unix Shell',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Text Processing :: Linguistic',
'Topic :: Utilities',
],
)