-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathsetup.py
40 lines (38 loc) · 1.33 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
import pathlib
from setuptools import setup, find_packages
here = pathlib.Path(__file__).parent
long_description = (here / 'README.md').read_text()
about = {}
exec((here / 'html2csv' / 'version.py').read_text(), about)
setup(
name='html-to-csv',
version=about['__version__'],
description='A utility that extracts tables from HTML documents and converts them to CSV format',
long_description=long_description,
long_description_content_type='text/markdown',
url='https://github.com/hanwentao/html2csv',
author='Wentao Han',
author_email='[email protected]',
classifiers=[
'Development Status :: 3 - Alpha',
'Operating System :: OS Independent',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
],
keywords='html table csv convert',
packages=find_packages(exclude=['tests']),
python_requires='>=3.6, <4',
install_requires=['beautifulsoup4', 'lxml', 'requests'],
extras_require={
'dev': ['setuptools', 'wheel', 'twine'],
'test': ['pytest', 'tox'],
},
entry_points={
'console_scripts': [
'html2csv=html2csv.__main__:main',
],
},
)