博克博克博克
bork的Python项目详细描述
博克
用于生成和发布PEP 517兼容项目的前端,包括对生成ZipApp的支持。
安装
$ pip3 install bork
用法
假设一个项目符合PEP517标准,您可以这样做:
$ bork clean # Remove anything in build/, dist/, *.egg-info/
$ bork build # Build the project
$ bork release # Release to PyPI
Zipap支持
如果要构建zipapp,请将其添加到setup.cfg:
[bork]
zipapp_main = <entrypoint>
其中<entrypoint>
的形式为“module.submodule:function”,并且
可能相当于主入口点
在setup.cfg中的其他位置。
贡献
github上的https://github.com/duckinator/bork欢迎错误报告和请求拉取。这个项目旨在成为一个安全、受欢迎的协作空间,而且贡献者应该遵守Contributor Covenant行为准则。
许可证
gem是根据MIT License的条款作为开放源码提供的。
行为准则
在博克项目的代码库、问题跟踪程序、聊天室和邮件列表中进行交互的每个人都应该遵循code of conduct。