-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix CI workflow for automatic PyPI publishing
- Loading branch information
1 parent
90fe555
commit 53a08c0
Showing
3 changed files
with
10 additions
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
__version__ = "1.0.4" | ||
__version__ = "1.1.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,13 +1,16 @@ | ||
from setuptools import setup, find_packages | ||
from cantofilter import __version__ | ||
# 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=version['__version__'], | ||
author="CanCLID (Cantonese Computational Linguistics Infrastructure Development Workgroup)", | ||
author_email="[email protected]", | ||
description="粵文分類篩選器 Cantonese text filter", | ||
|