-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(fix): corrected setup.py to include SentencePiece model
- Loading branch information
1 parent
d2f8b91
commit 627bc25
Showing
5 changed files
with
133 additions
and
8 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
include nepalikit/tokenization/sentencepiece/model/NepaliKit_sentencepiece.model | ||
|
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
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 |
---|---|---|
|
@@ -12,6 +12,10 @@ | |
'sentencepiece==0.2.0', | ||
'regex' | ||
], | ||
include_package_data=True, | ||
package_data={ | ||
'nepalikit': ['tokenization/sentencepiece/model/NepaliKit_sentencepiece.model'], | ||
}, | ||
entry_points={ | ||
'console_scripts': [ | ||
'nepalikit-cli = nepalikit.__main__:main', | ||
|
@@ -20,7 +24,7 @@ | |
author='Prabhash Kumar Jha', | ||
author_email='[email protected]', | ||
description='A Nepali language processing library', | ||
long_description=long_description, | ||
long_description=open('README.md').read(), | ||
long_description_content_type='text/markdown', | ||
url='https://github.com/prabhashj07/nepalikit.git', | ||
license='MIT', | ||
|
@@ -35,9 +39,9 @@ | |
'Topic :: Text Processing :: Linguistic', | ||
], | ||
python_requires='>=3.7', | ||
include_package_data=True, | ||
project_urls={ | ||
'Bug Reports': 'https://github.com/prabhashj07/nepalikit/issues', | ||
'Source': 'https://github.com/prabhashj07/nepalikit/', | ||
}, | ||
) | ||
|