-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
58 lines (48 loc) · 1.48 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
56
57
58
"""html5prescan setup file."""
from setuptools import setup, find_packages
description = """
Prescan a byte string and return WHATWG and Python encoding names.
"""
readme = """
%s
See https://github.com/openandclose/html5prescan
License: MIT
"""
description = description.strip()
readme = readme.strip() % description
with open('VERSION') as f:
version = f.read().strip()
setup(
name='html5prescan',
version=version,
url='https://github.com/openandclose/html5prescan',
license='MIT',
author='Open Close',
author_email='[email protected]',
description=description,
long_description=readme,
# https://pypi.python.org/pypi?:action=list_classifiers
classifiers=[
'Development Status :: 3 - Alpha',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Topic :: Text Processing :: Markup :: HTML',
'Topic :: Utilities',
],
keywords='html html5 WHATWG prescan sniff meta charset',
packages=find_packages('src'),
package_dir={'': 'src'},
include_package_data=True,
entry_points={
'console_scripts': [
'html5prescan = html5prescan.scan:main',
],
},
python_requires='~=3.6',
zip_safe=False,
)