如何使用分发添加安装后功能?

发布于 2024-10-08 15:42:04 字数 349 浏览 10 评论 0原文

我正在尝试使用 distribute 构建源分发包,其中应包含调用的安装后方法安装完成后。

我尝试了这个 distutils 解决方案 但这会导致安装未完全执行(例如缺少要求的安装)。

那么在分发源分发包中具有安装后功能的首选方法是什么?

I'm trying to build a source distribution package with distribute which should include a post-install method being called after the install is finished.

I tried this distutils solution but that leads to the setup not being completely carried out (e.g. requirement installation is missing).

So what's the preferred way to have a post-install function in a distribute source distribution package?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文