问题描述
我想为我的 python 模块构建一个 debian 包。我使用构建系统诗歌。但是pybuild
不懂诗。所以我想使用自定义构建系统,如提到的 here。
#!/usr/bin/make -f
export DH_VERBOSE=1
export PYBUILD_NAME=foo
export PYBUILD_SYstem=custom
export PYBUILD_CLEAN_ARGS=
%:
dh $@ --with python3 --buildsystem=pybuild
override_dh_auto_build:
poetry build
override_dh_auto_install:
poetry install
override_dh_auto_clean:
但是,我收到错误消息:
I: pybuild base:217: python3.8 setup.py clean python3.8: can't open file 'setup.py': [Errno 2] No such file or directory E: pybuild pybuild:390: plugin distutils Failed: exit code=2: python3.8 setup.py clean
。但是我不使用distutils作为系统,所以我无法理解问题。
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)