Skip to content

Publish package as pycircuit-hisi#35

Merged
zhoubot merged 1 commit intoLinxISA:mainfrom
zhoubot:codex/pypi-hisi-package
Mar 9, 2026
Merged

Publish package as pycircuit-hisi#35
zhoubot merged 1 commit intoLinxISA:mainfrom
zhoubot:codex/pypi-hisi-package

Conversation

@zhoubot
Copy link
Collaborator

@zhoubot zhoubot commented Mar 9, 2026

Implements 0013/0014 packaging closure for a publishable pip distribution.

Summary:

  • rename the Python distribution package to pycircuit-hisi while keeping import pycircuit and the pycc/pyc-opt entrypoints unchanged
  • keep platform wheels py3-none-<platform> so one wheel covers Python 3.10+ per platform
  • wire release publishing for PyPI trusted publishing behind PYC_PUBLISH_PYPI=1
  • update CI wheel-name checks and user-facing install docs to pip install pycircuit-hisi

Validation:

  • python3 -m py_compile packaging/wheel/setup.py packaging/wheel/create_wheel.py compiler/frontend/pycircuit/packaged_toolchain.py compiler/frontend/pycircuit/cli.py
  • source .pycircuit_out/pip-wheel-venv314/bin/activate && python -m twine check .pycircuit_out/dist-hisi/*.whl
  • fresh venv install of .pycircuit_out/dist-hisi/pycircuit_hisi-0.1.0-py3-none-macosx_11_0_arm64.whl
  • pycc --version

@zhoubot zhoubot force-pushed the codex/pypi-hisi-package branch from a887619 to f866a75 Compare March 9, 2026 11:11
@zhoubot zhoubot merged commit e4c00cf into LinxISA:main Mar 9, 2026
4 checks passed
@zhoubot zhoubot deleted the codex/pypi-hisi-package branch March 10, 2026 16:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant