File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -9,5 +9,4 @@ __pycache__
99* .egg-info
1010.DS_Store
1111/OpenHowNet /HowNet_dict_complete
12- /* .py
1312/* .sh
Original file line number Diff line number Diff line change 1+ import setuptools
2+
3+ VERSION = "test"
4+
5+ with open ("README.md" , "r" , encoding = "utf-8" ) as fh :
6+ long_description = '<h1 align="center">OpenHowNet</h1>\n ' + fh .read ().split ('### [中文版本](README_ZH.md)\n \n ' )[1 ]
7+
8+ setuptools .setup (
9+ name = "OpenHowNet" ,
10+ version = VERSION ,
11+ author = "THUNLP" ,
12+ author_email = "thunlp@gmail.com" ,
13+ description = "OpenHowNet" ,
14+ long_description = long_description ,
15+ long_description_content_type = "text/markdown" ,
16+ url = "https://github.com/thunlp/OpenHowNet" ,
17+ packages = setuptools .find_packages (),
18+ classifiers = [
19+ "Programming Language :: Python :: 3" ,
20+ "License :: OSI Approved :: MIT License" ,
21+ "Operating System :: OS Independent" ,
22+ ],
23+ python_requires = ">=3.6"
24+ )
You can’t perform that action at this time.
0 commit comments