-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
75 lines (69 loc) · 2.26 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
"""Setup script for pyunormalize."""
from setuptools import setup, find_packages
URL = "https://github.com/mlodewijck/pyunormalize"
def get_version():
version_file = "pyunormalize/_version.py"
with open(version_file) as f:
exec(compile(f.read(), version_file, "exec"))
return locals()["__version__"]
with open("README.md", encoding="utf-8") as f:
README = f.read()
setup(
name="pyunormalize",
version=get_version(),
description=(
"Unicode normalization forms (NFC, NFKC, NFD, NFKD). A library "
"independent from the Python core Unicode database."
),
long_description=README,
long_description_content_type="text/markdown",
author="Marc Lodewijck",
author_email="[email protected]",
license="MIT",
url=URL,
project_urls={
"Bug Reports": "{}/issues".format(URL),
"Source": "{}/".format(URL),
},
keywords=[
"Unicode",
"Unicode data",
"Unicode normalization",
"normalization",
"NFC",
"NFD",
"NFKC",
"NFKD",
"Unicode Normalization Forms",
"Canonical Ordering Algorithm",
"Canonical Composition Algorithm",
"canonical ordering",
"canonical composition",
"Hangul Syllable Composition Algorithm",
"Hangul Syllable Decomposition Algorithm",
"Hangul syllables",
"Hangul jamo characters",
],
# Trove classifiers
classifiers=[
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Software Development",
"Topic :: Software Development :: Internationalization",
"Topic :: Text Processing",
"Topic :: Text Processing :: Linguistic",
"Topic :: Utilities",
],
python_requires=">=3.6",
packages=find_packages(),
include_package_data=True,
# All data files matched by MANIFEST.in will get included
# if they are inside a package directory.
zip_safe=False,
)