如何为带有setuptools/pip的Python包指定postininstall脚本?

2024-04-18 21:34:28 发布

您现在位置:Python中文网/ 问答频道 /正文

我正在创建一个Python包,在安装后使用Post-install script with Python setuptools中描述的方法注册COM服务器。如何指定卸载后(或卸载前)脚本以在卸载包时注销COM服务器?你知道吗


Tags: install方法服务器脚本comwithscriptpost