This repository has been archived by the owner on Sep 15, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
44 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
include ai4bharat/transliteration/models/* | ||
include dependencies.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
torch | ||
numpy | ||
pydload | ||
flask | ||
flask_cors | ||
gevent |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
import pathlib | ||
from setuptools import setup, find_packages | ||
import pkg_resources | ||
|
||
# The directory containing this file | ||
HERE = pathlib.Path(__file__).parent | ||
|
||
# The text of the README file | ||
README = (HERE / "README.md").read_text(encoding='utf-8') | ||
|
||
with pathlib.Path('dependencies.txt').open() as requirements_txt: | ||
install_requires = [ | ||
str(requirement) | ||
for requirement | ||
in pkg_resources.parse_requirements(requirements_txt) | ||
] | ||
|
||
# This call to setup() does all the work | ||
setup( | ||
name="ai4bharat-transliteration", | ||
version="0.5.0", | ||
description="Deep Transliteration for Indic Languages", | ||
long_description=README, | ||
long_description_content_type="text/markdown", | ||
url="https://github.com/AI4Bharat/IndianNLP-Transliteration", | ||
author="AI4Bharat", | ||
author_email="[email protected]", | ||
packages=["ai4bharat.transliteration"], | ||
# packages=find_packages(exclude=("tests",)), | ||
include_package_data=True, | ||
install_requires=install_requires, | ||
) |