-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #139 from stephenhky/readthedocs
pin requirements for ReadTheDocs
- Loading branch information
Showing
17 changed files
with
28,425 additions
and
18,376 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
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
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,14 @@ | ||
Cython==3.0.0 | ||
numpy==1.23.3 | ||
scipy==1.10.1 | ||
joblib==1.3.0 | ||
scikit-learn==1.2.0 | ||
tensorflow==2.13.0 | ||
keras==2.13.1 | ||
gensim==4.0.0 | ||
pandas==1.2.4 | ||
snowballstemmer==2.1.0 | ||
transformers==4.32.0 | ||
torch==2.0.1 | ||
python-Levenshtein==0.21.1 | ||
numba==0.57.1 |
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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
[build-system] | ||
requires = ["setuptools", "wheel", "Cython>=0.29", "numpy >= 1.16"] | ||
requires = ["setuptools", "wheel", "Cython>=3.0.0", "numpy >= 1.23.3"] |
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 |
---|---|---|
@@ -1,15 +1,14 @@ | ||
Cython>=0.29.0 | ||
numpy>=1.16.0 | ||
scipy>=1.6.0 | ||
joblib>=0.14 | ||
scikit-learn>=0.22.0 | ||
tensorflow>=2.5.0 | ||
keras>=2.4.0 | ||
Cython>=3.0.0 | ||
numpy>=1.23.3 | ||
scipy>=1.10.0 | ||
joblib>=1.3.0 | ||
scikit-learn>=1.2.0 | ||
tensorflow>=2.13.0 | ||
keras>=2.13.0 | ||
gensim>=4.0.0 | ||
pandas>=1.0.0 | ||
Flask>=2.0.0 | ||
pandas>=1.2.0 | ||
snowballstemmer>=2.0.0 | ||
transformers>=4.1.0 | ||
torch>=1.5.0 | ||
python-Levenshtein>=0.12.0 | ||
numba>=0.52.0 | ||
transformers>=4.32.0 | ||
torch>=2.0.0 | ||
python-Levenshtein>=0.21.0 | ||
numba>=0.57.0 |
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 |
---|---|---|
@@ -1,11 +1,17 @@ | ||
|
||
from setuptools import setup | ||
import numpy as np | ||
from Cython.Build import cythonize | ||
|
||
|
||
ext_modules = cythonize(['shorttext/metrics/dynprog/dldist.pyx', | ||
'shorttext/metrics/dynprog/lcp.pyx']) | ||
try: | ||
from Cython.Build import cythonize | ||
ext_modules = cythonize(['shorttext/metrics/dynprog/dldist.pyx', | ||
'shorttext/metrics/dynprog/lcp.pyx']) | ||
except ImportError: | ||
from setuptools import Extension | ||
ext_modules = [ | ||
Extension('shorttext.metrics.dynprog.dldist', ['shorttext/metrics/dynprog/dldist.c']), | ||
Extension('shorttext.metrics.dynprog.lcp', ['shorttext/metrics/dynprog/lcp.c']) | ||
] | ||
|
||
|
||
def package_description(): | ||
|
@@ -28,7 +34,7 @@ def test_requirements(): | |
|
||
|
||
setup(name='shorttext', | ||
version='1.5.9', | ||
version='1.6.0', | ||
description="Short Text Mining", | ||
long_description=package_description(), | ||
long_description_content_type='text/markdown', | ||
|
@@ -37,10 +43,10 @@ def test_requirements(): | |
"Topic :: Scientific/Engineering :: Mathematics", | ||
"Topic :: Text Processing :: Linguistic", | ||
"Topic :: Software Development :: Libraries :: Python Modules", | ||
"Programming Language :: Python :: 3.7", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Programming Language :: Cython", | ||
"Programming Language :: C", | ||
"Natural Language :: English", | ||
|
@@ -52,7 +58,7 @@ def test_requirements(): | |
], | ||
keywords="shorttext natural language processing text mining", | ||
url="https://github.com/stephenhky/PyShortTextCategorization", | ||
author="Kwan-Yuet Ho", | ||
author="Kwan Yuet Stephen Ho", | ||
author_email="[email protected]", | ||
license='MIT', | ||
ext_modules=ext_modules, | ||
|
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
Oops, something went wrong.