Skip to content

Commit

Permalink
Merge pull request #129 from honnibal/master
Browse files Browse the repository at this point in the history
Include Cython source in package
  • Loading branch information
luoruixuan authored Jun 21, 2020
2 parents 7330cd0 + f4a7795 commit becc57e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
numpy>=1.16.0
cython
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,14 @@ def setup_package():
long_description_content_type="text/markdown",
url="https://github.com/lancopku/pkuseg-python",
packages=setuptools.find_packages(),
package_data={"": ["*.txt*", "*.pkl", "*.npz"]},
package_data={"": ["*.txt*", "*.pkl", "*.npz", "*.pyx", "*.pxd"]},
classifiers=[
"Programming Language :: Python :: 3",
"License :: Other/Proprietary License",
"Operating System :: OS Independent",
],
install_requires=["numpy>=1.16.0"],
setup_requires=["cython", "numpy>=1.16.0"],
ext_modules=cythonize(extensions, annotate=True),
zip_safe=False,
)
Expand Down

0 comments on commit becc57e

Please sign in to comment.