symbol-tool
用于管理符号文件仓库的命令行工具。
快速开始
pip install -e .
symbol-tool --version
打包
pyinstaller symbol_tool.spec --clean
命令示例
symbol-tool upload -t test -p "./**/*.pdb"
symbol-tool upload -t denture -p "./**/*.pdb"
symbol-tool fix -t test
symbol-tool transfer --source test --target test
symbol-tool clean -t test
target 是别名。每个别名对应“某个服务器 + 某个路径”,定义在 symbol_tool/config.py。
测试
pytest tests
发布到 PyPI
python -m pip install --upgrade build twine
python -m build .
python -m twine upload --repository-url ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/pypi dist/*
CI 中请配置:
TWINE_USERNAME=gitlab-ci-tokenTWINE_PASSWORD=$CI_JOB_TOKEN
Metadata
Release files for symbol-tool 1.1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| symbol_tool-1.1.0.2.tar.gz | 13.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| symbol_tool-1.1.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 25.9 kB
Release files / symbol_tool-1.1.0.2.tar.gz
| Download URL | symbol_tool-1.1.0.2.tar.gz |
|---|---|
| Size | 13.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5444cd1c9718edc122cfb6b2c2dd7ff4acb145b990c6528b7c4a84ee782117b4
|
|
BLAKE2b-256 checksum How to use checksums |
d825a50836b0165e4dd98f4a190a8c15751ed200b0db6723c9d07ff5ab21695f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.11
|
Release files / symbol_tool-1.1.0.2-py3-none-any.whl
| Download URL | symbol_tool-1.1.0.2-py3-none-any.whl |
|---|---|
| Size | 12.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
16b55b9bde2f260bfc709a4ac48959ad853c345d6fbcea3cb0a65b54b193e559
|
|
BLAKE2b-256 checksum How to use checksums |
641e1efc5391b032c461398f6cce2c28f415a343efcce5eb195db681ddf5dbf7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.11
|