File size: 1,744 Bytes
e50fe35
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
import setuptools
from pkg_resources import parse_requirements
import pathlib
import os

def write_version_py():
    with open(os.path.join("indicnlp", "version.txt")) as f:
        version = f.read().strip()

    # write version info to fairseq/version.py
    with open(os.path.join("indicnlp", "version.py"), "w") as f:
        f.write('__version__ = "{}"\n'.format(version))
    return version

with open("README.md", "r") as fh:
    long_description = fh.read()

version=write_version_py()

setuptools.setup(
    name="indic_nlp_library", # Replace with your own username
    version=version,
    author="Anoop Kunchukuttan",
    author_email="anoop.kunchukuttan@gmail.com",
    description="The goal of the Indic NLP Library is to build Python based libraries for common"\
        ' text processing and Natural Language Processing in Indian languages.',
    long_description=long_description,
    long_description_content_type="text/markdown",
    url="https://github.com/anoopkunchukuttan/indic_nlp_library",
    # project_urls={
    #     "Bug Tracker": "https://bugs.example.com/HelloWorld/",
    #     "Documentation": "https://docs.example.com/HelloWorld/",
    #     "Source Code": "https://code.example.com/HelloWorld/",
    # },    
    packages=setuptools.find_packages(),
    license='MIT',
    classifiers=[
        "Programming Language :: Python :: 3",
        "License :: OSI Approved :: MIT License",
        "Operating System :: OS Independent",
    ],
    python_requires='>=3.5',
    download_url='https://github.com/anoopkunchukuttan/indic_nlp_library/archive/master.zip',
    install_requires=[
        str(requirement) for requirement
            in parse_requirements(pathlib.Path('requirements.txt').open())
    ]
)