Skip to content

Commit

Permalink
0.9.2 bugix release: make cimport uwcwidth work
Browse files Browse the repository at this point in the history
  • Loading branch information
Z4JC committed Sep 16, 2024
1 parent b6ab21a commit 688ca42
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
9 changes: 5 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "uwcwidth"
version = "0.9.1"
version = "0.9.2"
authors = [{name = "!ZAJC!"}]
readme = "README.md"
description = "terminal width of Unicode 16.0+Emoji strings in nanoseconds"
Expand All @@ -10,7 +10,10 @@ classifiers = [
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Topic :: Software Development :: Libraries :: Python Modules"
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: Localization",
"Topic :: Software Development :: Internationalization",
"Topic :: Terminals"
]

[project.optional-dependencies]
Expand All @@ -29,8 +32,6 @@ include = ["uwcwidth"]
exclude = []
namespaces = false



[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = ["--import-mode=importlib"]
2 changes: 1 addition & 1 deletion uwcwidth/__init__.pxd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#cython: language_level=3
# SPDX-License-Identifier: MIT
from uwcwidth.uwcwidth cimport (wcwidth, wcswidth, wcwidth_uint32
from uwcwidth.uwcwidth cimport (wcwidth, wcswidth, wcwidth_uint32,
is_EMB, is_EMB_uint32)
1 change: 1 addition & 0 deletions uwcwidth/uwcwidth.pxd
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ cpdef int wcwidth(unicode uwc)
cpdef int wcswidth(unicode ustr, n=*)
cpdef int wcwidth_uint32(uint32_t wc)
cpdef bint is_EMB(unicode uwc)
cpdef bint is_EMB_uint32(uint32_t wc)

0 comments on commit 688ca42

Please sign in to comment.