-
Notifications
You must be signed in to change notification settings - Fork 4
/
setup.py
36 lines (34 loc) · 1.35 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
from setuptools import setup, find_packages
# Read the version from cantofilter/version.py
version = {}
with open("cantofilter/version.py") as fp:
exec(fp.read(), version)
# Read the contents of your README file
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
setup(
name="canto-filter",
version=version['__version__'],
author="CanCLID (Cantonese Computational Linguistics Infrastructure Development Workgroup)",
author_email="support@jyutping.org",
description="粵文分類篩選器 Cantonese text filter",
long_description=long_description,
long_description_content_type="text/markdown",
packages=find_packages(),
classifiers=[
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"License :: OSI Approved :: MIT License",
"Intended Audience :: Developers",
"Topic :: Text Processing :: Linguistic",
"Natural Language :: Cantonese",
"Operating System :: OS Independent",
],
python_requires=">=3.11",
entry_points={
"console_scripts": [
"cantofilter=cantofilter.cli:main", # 'command=package.module:function'
],
},
)