Debian Codegraph @

testing/web-platform/tests/tools/third_party/webencodings/setup.py

raw
1 from setuptools import setup, find_packages
2 import io
3 from os import path
4 import re
5
6
7 VERSION = re.search("VERSION = '([^']+)'", io.open(
8 path.join(path.dirname(__file__), 'webencodings', '__init__.py'),
9 encoding='utf-8'
10 ).read().strip()).group(1)
11
12 LONG_DESCRIPTION = io.open(
13 path.join(path.dirname(__file__), 'README.rst'),
14 encoding='utf-8'
15 ).read()
16
17
18 setup(
19 name='webencodings',
20 version=VERSION,
21 url='https://github.com/SimonSapin/python-webencodings',
22 license='BSD',
23 author='Simon Sapin',
24 author_email='[email protected]',
25 maintainer='Geoffrey Sneddon',
26 maintainer_email='[email protected]',
27 description='Character encoding aliases for legacy web content',
28 long_description=LONG_DESCRIPTION,
29 classifiers=[
30 'Development Status :: 4 - Beta',
31 'Intended Audience :: Developers',
32 'License :: OSI Approved :: BSD License',
33 'Programming Language :: Python',
34 'Programming Language :: Python :: 2',
35 'Programming Language :: Python :: 2.6',
36 'Programming Language :: Python :: 2.7',
37 'Programming Language :: Python :: 3',
38 'Programming Language :: Python :: 3.3',
39 'Programming Language :: Python :: 3.4',
40 'Programming Language :: Python :: 3.5',
41 'Programming Language :: Python :: 3.6',
42 'Programming Language :: Python :: Implementation :: CPython',
43 'Programming Language :: Python :: Implementation :: PyPy',
44 'Topic :: Internet :: WWW/HTTP',
45 ],
46 packages=find_packages(),
47 )