-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathsetup.py
36 lines (34 loc) · 1.07 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
from setuptools import setup, find_packages
import twnews.common as common
# Load reStructedText description.
# Online Editor - http://rst.ninjs.org/
# Quick Reference - http://docutils.sourceforge.net/docs/user/rst/quickref.html
readme = open('README.md', 'r')
longdesc = readme.read()
readme.close()
# See
# https://packaging.python.org/tutorials/packaging-projects/
# https://python-packaging.readthedocs.io/en/latest/non-code-files.html
setup(
name='twnews',
version=common.VERSION,
description='To tear down news web pages in Taiwan.',
long_description=longdesc,
long_description_content_type='text/markdown',
packages=find_packages(),
url='https://github.com/virus-warnning/twnews',
license='MIT',
author='Raymond Wu',
package_data={
'twnews': ['conf/*', 'res/*', 'samples/*', 'tests/soup/*', 'tests/search/*']
},
install_requires=[
'beautifulsoup4>=4.7.1',
'busm>=0.9.0',
'lxml>=4.3.3',
'requests>=2.21.0',
'pandas>=0.24.2',
'PyYAML>=5.1.2'
],
python_requires='>=3.5'
)