-
Notifications
You must be signed in to change notification settings - Fork 32
/
setup.py
47 lines (42 loc) · 1.52 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
from setuptools import setup, find_packages
import io
from os import path
import re
VERSION = re.search("VERSION = '([^']+)'", io.open(
path.join(path.dirname(__file__), 'webencodings', '__init__.py'),
encoding='utf-8'
).read().strip()).group(1)
LONG_DESCRIPTION = io.open(
path.join(path.dirname(__file__), 'README.rst'),
encoding='utf-8'
).read()
setup(
name='webencodings',
version=VERSION,
url='https://github.com/SimonSapin/python-webencodings',
license='BSD',
author='Simon Sapin',
author_email='[email protected]',
maintainer='Geoffrey Sneddon',
maintainer_email='[email protected]',
description='Character encoding aliases for legacy web content',
long_description=LONG_DESCRIPTION,
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
'Topic :: Internet :: WWW/HTTP',
],
packages=find_packages(),
)