python 新的包构建模式

实际上是PEP 517 的定义,主要是对于基于distutils以及setuptools 已经存在太久的时间了,需要一些调整了
目前已经有了不少相关的实现了,同时也有不少python 包的开发就是基于了新的规范了,hatch 以及poetry 是
一个不错的选择

说明

关于python包开发的,有一本很不错的书Publishing Python Packages: Test, share, and automate your projects 很不错
值得看看

参考资料

https://peps.python.org/pep-0517/
https://github.com/pypa/hatch
https://hatch.pypa.io/latest/
https://python-poetry.org/
https://github.com/python-poetry/poetry
https://github.com/pypa/setuptools
https://github.com/pypa/distutils
https://levelup.gitconnected.com/should-i-build-a-package-using-pep-517-and-how-a5bb15de1ccc

posted on   荣锋亮  阅读(38)  评论(0编辑  收藏  举报

相关博文:
阅读排行:
· 全程不用写代码,我用AI程序员写了一个飞机大战
· DeepSeek 开源周回顾「GitHub 热点速览」
· 记一次.NET内存居高不下排查解决与启示
· MongoDB 8.0这个新功能碉堡了,比商业数据库还牛
· .NET10 - 预览版1新功能体验(一)
历史上的今天:
2022-08-12 nginx proxy webservie 问题&实践
2021-08-12 centraldogma git 镜像配置
2019-08-12 Micro Benchmark Framework java 基准测试类库
2019-08-12 benchmarkdotnet dotnet 基准测试类库试用(一)
2014-08-12 脸部识别JavaScript类库Tracking.js

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
点击右上角即可分享
微信分享提示