forked from AI4Bharat/indic-numtowords
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
39 lines (35 loc) · 1.35 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
from setuptools import find_packages, setup
import sys
with open('README.md', encoding="utf-8") as f:
long_description = f.read()
version='1.0.2.1'
for arg in sys.argv:
if arg.startswith('--version='):
version = arg.split('=')[1]
sys.argv.remove(arg) # Remove the argument to avoid issues with setup()
# This call to setup() does all the work
setup(
name="sarvam_indic_numtowords",
version=version,
description="A module to convert numbers to words for Indian languages and English.",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/AI4Bharat/indic-numtowords",
project_urls={
'Source Code': 'https://github.com/AI4Bharat/indic-numtowords',
'Report Issues': 'https://github.com/AI4Bharat/indic-numtowords/issues',
},
author="AI4Bhārat",
author_email="[email protected]",
packages=find_packages(exclude=("tests",)),
include_package_data=True,
python_requires='>=3.6',
license='MIT',
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Software Development :: Libraries"
],
)