directory
Version:
v0.3.1-beta.5
Opens a new window with list of versions in this module.
Published: Jun 10, 2025
License: MIT
Opens a new window with license information.
README
¶
注意,下面是手动编译构建pip包的流程,只支持当前操作系统,无法发布到pypi,需通过github actions自动编译发布。
安装
# 安装Python依赖
python3 -m pip install pybindgen setuptools wheel
# 安装Go工具
go install golang.org/x/tools/cmd/goimports@latest
go install github.com/go-python/gopy@latest
编译
gopy pkg -output=_out -vm=python3 \
-name=bbta \
-version=0.3.0 \
-author="banbot" \
-email="banbot@163.com" \
-desc="python bindings for banta" \
-url="https://github.com/banbox/banta" \
github.com/banbox/banta/python/ta \
github.com/banbox/banta/python/tav
构建
cd _out
make install
发布
# 构建分发包
python3 setup.py sdist bdist_wheel
# 上传到PyPI
python3 -m pip install twine
twine upload dist/*
Directories
¶
|
|
|
Package tav provides a gopy-compatible wrapper for the github.com/banbox/banta/tav library.
|
Package tav provides a gopy-compatible wrapper for the github.com/banbox/banta/tav library. |
Click to show internal directories.
Click to hide internal directories.