Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试使用setuptools打包一个依赖 gsettings 来存储和检索用户首选项的 python 应用程序。但是我之前没有使用过上述工具,我不确定如何处理setup.py脚本以指示它安装和编译模式。似乎该data_files参数可用于指定将安装在指定目录中的附加文件,但如何确保glib-compile-schemas执行?
setuptools
setup.py
data_files
glib-compile-schemas