Simplify Python bindings and package builds
Read each input path through one opened stream, including gzip detection, and use direct numeric converter lookup while preserving byte-order handling and caller data. Read the package version from installed metadata and report range errors consistently as ValueError. Require the supplied Cargo.lock instead of generating it during builds, use the standard sdist command, and update package checks and development guides. Validation: 15 Python tests pass against source and the rebuilt installed wheel; the source archive and platform wheel build successfully.
This commit is contained in:
parent
54aa757678
commit
a723ba2265
1 changed files with 40 additions and 38 deletions
|
|
@ -1,8 +1,10 @@
|
|||
"""Native GDSII helpers. Install pheon[arrow] for the pheon.arrow readers."""
|
||||
|
||||
from importlib.metadata import version as _version
|
||||
|
||||
from ._native import PheonError as PheonError
|
||||
from .basic import pack_int2 as pack_int2
|
||||
from .basic import pack_int4 as pack_int4
|
||||
|
||||
|
||||
__version__ = "0.3.0"
|
||||
__version__ = _version("pheon")
|
||||
|
|
|
|||
Loading…
Reference in a new issue