Default template for PDM package
Project description
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 # 允许生成可分发的包
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pytest_result_sender_jms-0.1.6-py3-none-any.whl.
File metadata
- Download URL: pytest_result_sender_jms-0.1.6-py3-none-any.whl
- Upload date:
- Size: 4.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1e8694d2f7b719aac55d974f9dd7c2a35c0c56d14f7b857680300b9336e4922b
|
|
| MD5 |
13d1c9e2437e967b46108c76862ad0af
|
|
| BLAKE2b-256 |
4786802601fb618ce9092716ddb6ce0926a416835b8afbb73da640cfda5c4c83
|