在生成setup.py的bdist_wheel时处理目标路径

时间:2018-10-08 18:55:13

标签: python pip setuptools setup.py

我已经完成了一个pypi软件包,该软件包将在安装过程中下载CLI工具并将其复制到scripts / bin目录中。使用python setup.py sdist生成sdist绝对可以,但是当我们尝试生成python setup.py bdist_wheel时,选择了绝对路径,有人可以建议我如何处理以下错误

moving /private/var/folders/8f/bp43zv8s1r1gc035lqhd5s840000gn/T/pip- 
install-kml79q02/tester/excutable -> build/bdist.macosx-10.7 .   - 
x86_64/wheel/tester-1.0.2.data/scripts/executable
error: can't move 
'/private/var/folders/8f/bp43zv8s1r1gc035lqhd5s840000gn/T/pip-install- 
kml79q02/test5/gauge': destination 'build/bdist.macosx-10.7 .         - 
x86_64/wheel/tester-1.0.2.data/scripts/executable' not a valid path

0 个答案:

没有答案