pytest-result-sender
dist文件夹
存放打包的插件
插件的使用
1.pycharm中使用 把dist文件夹下后缀为whl的文件拷贝到要使用的项目目录下,使用pip install +{拷贝过去的插件名} 进行插件的安装,安装好后就可以在项目使用插件了
src文件
项目的主文件夹,插件的主要代码放在该目录下
pyproject.toml
项目的配置文件 详细: 1.核心项目元数据 ([project]) [project] name = "pytest-result-sender" # 包名称(必须与代码目录名一致) version = "0.1.0" # 版本号 description = "Default template for PDM package" # 包描述 authors = [{name = "", email = ""}] # 作者信息(需完善) dependencies = ["pytest>=8.3.5"] # 依赖项(正确) requires-python = ">=3.8" # Python版本要求 readme = "README.md" # 文档文件 license = {text = "MIT"} # 许可证类型
2.构建系统配置 ([build-system]) [build-system] requires = ["pdm-backend"] # 构建工具依赖 build-backend = "pdm.backend" # 指定PDM作为构建后端
3.插件入口点 ([project.entry-points.pytest11]) [project.entry-points.pytest11] result_log = "pytest_result_sender.plugin" # pytest插件入口
4.PDM构建配置 ([tool.pdm.build]) [tool.pdm.build] package-dir = "src" # 指定源代码目录为src
5.PDM扩展配置 ([tool.pdm]) [tool.pdm] distribution = true # 允许生成可分发的包
Metadata
Release files for pytest-result-sender-jms 0.1.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pytest_result_sender_jms-0.1.6-py3-none-any.whl | Python 3 | none | any | Details |
Release files / pytest_result_sender_jms-0.1.6-py3-none-any.whl
| Download URL | pytest_result_sender_jms-0.1.6-py3-none-any.whl |
|---|---|
| Size | 4.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1e8694d2f7b719aac55d974f9dd7c2a35c0c56d14f7b857680300b9336e4922b
|
|
BLAKE2b-256 checksum How to use checksums |
4786802601fb618ce9092716ddb6ce0926a416835b8afbb73da640cfda5c4c83
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Security for pytest-result-sender-jms 0.1.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.