2019-07-19 21:01:18 +03:00
#!/usr/bin/env python
# -*- encoding: utf-8 -*-
from __future__ import absolute_import
from __future__ import print_function
import io
import re
2019-08-19 17:51:35 +03:00
from os . path import dirname , join
from setuptools import setup
2019-09-02 14:51:41 +03:00
from utils_nlp import VERSION , AUTHOR , TITLE , LICENSE
2019-08-09 20:05:01 +03:00
2019-07-19 21:01:18 +03:00
def read ( * names , * * kwargs ) :
2019-08-09 20:05:01 +03:00
with io . open ( join ( dirname ( __file__ ) , * names ) , encoding = kwargs . get ( " encoding " , " utf8 " ) ) as fh :
2019-07-19 21:01:18 +03:00
return fh . read ( )
setup (
name = " utils_nlp " ,
2019-09-02 14:51:41 +03:00
version = VERSION ,
license = LICENSE ,
2019-07-19 21:01:18 +03:00
description = " NLP Utility functions that are used for best practices in building state-of-the-art NLP methods and scenarios. Developed by Microsoft AI CAT " ,
long_description = " %s \n %s "
% (
2019-08-09 20:05:01 +03:00
re . compile ( " ^.. start-badges.*^.. end-badges " , re . M | re . S ) . sub ( " " , read ( " README.md " ) ) ,
2019-07-19 21:01:18 +03:00
re . sub ( " :[a-z]+:`~?(.*?)` " , r " `` \ 1`` " , read ( " CONTRIBUTING.md " ) ) ,
) ,
2019-08-09 20:05:01 +03:00
author = AUTHOR ,
2019-07-19 21:01:18 +03:00
author_email = " teamsharat@microsoft.com " ,
url = " https://github.com/microsoft/nlp " ,
packages = [ " utils_nlp " ] ,
include_package_data = True ,
zip_safe = True ,
classifiers = [
# complete classifier list: http://pypi.python.org/pypi?%3Aaction=list_classifiers
" Development Status :: 5 - Production/Stable " ,
" Intended Audience :: Developers " ,
" License :: OSI Approved :: MIT License " ,
" Operating System :: Unix " ,
" Operating System :: POSIX " ,
" Operating System :: Microsoft :: Windows " ,
" Programming Language :: Python :: 3.6 " ,
" Programming Language :: Python :: 3.7 " ,
" Programming Language :: Python :: Implementation :: CPython " ,
" Programming Language :: Python :: Implementation :: PyPy " ,
" Topic :: Text Processing :: Linguistic " ,
" Topic :: Utilities " ,
" Intended Audience :: Science/Research " ,
" Intended Audience :: Developers " ,
" Intended Audience :: Education " ,
" Intended Audience :: Financial and Insurance Industry " ,
" Intended Audience :: Healthcare Industry " ,
" Intended Audience :: Information Technology " ,
" Intended Audience :: Telecommunications Industry " ,
] ,
project_urls = {
" Documentation " : " https://github.com/microsoft/nlp/ " ,
" Issue Tracker " : " https://github.com/microsoft/nlp/issues " ,
} ,
2019-08-09 20:05:01 +03:00
keywords = [ " Microsoft NLP " , " Natural Language Processing " , " Text Processing " , " Word Embedding " ] ,
2019-07-19 21:01:18 +03:00
python_requires = " >=3.6 " ,
2019-09-17 23:58:48 +03:00
install_requires = [ ] ,
2019-07-19 21:01:18 +03:00
dependency_links = [ ] ,
extras_require = { } ,
2019-09-17 23:58:48 +03:00
use_scm_version = False ,
setup_requires = [ ] ,
2019-07-19 21:01:18 +03:00
)