forked from savoirfairelinux/num2words
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
72 lines (64 loc) · 2.76 KB
/
Copy pathsetup.py
File metadata and controls
72 lines (64 loc) · 2.76 KB
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
# -*- coding: utf-8 -*-
# Copyright (c) 2003, Taro Ogawa. All Rights Reserved.
# Copyright (c) 2013, Savoir-faire Linux inc. All Rights Reserved.
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2.1 of the License, or (at your option) any later version.
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Lesser General Public License for more details.
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
# MA 02110-1301 USA
from io import open
from setuptools import find_packages, setup
PACKAGE_NAME = "num2words2"
CLASSIFIERS = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Programming Language :: Python :: 3.15",
"Topic :: Software Development :: Internationalization",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: Localization",
"Topic :: Text Processing :: Linguistic",
]
LONG_DESC = open("README.rst", "rt", encoding="utf-8").read()
setup(
name=PACKAGE_NAME,
use_scm_version=True,
setup_requires=["setuptools_scm"],
description=(
"Modern, actively maintained fork of num2words optimized "
"for LLM/AI/speech applications."
),
long_description=LONG_DESC,
long_description_content_type="text/markdown",
license="LGPL-2.1-only",
license_files=["COPYING"],
author="Jean-Louis Queguiner",
author_email="jean-louis.queguiner@gmail.com",
maintainer="Jean-Louis Queguiner",
maintainer_email="jean-louis.queguiner@gmail.com",
keywords=" number word numbers words convert conversion i18n "
"localisation localization internationalisation "
"internationalization",
url="https://github.com/jqueguiner/num2words2",
project_urls={
"Documentation": "https://github.com/jqueguiner/num2words2/wiki",
"Repository": "https://github.com/jqueguiner/num2words2.git",
"Bug Tracker": "https://github.com/jqueguiner/num2words2/issues",
},
packages=find_packages(exclude=["tests"]),
package_data={"num2words2": ["py.typed"]},
include_package_data=True,
classifiers=CLASSIFIERS,
scripts=["bin/num2words2"],
)