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.
我想将一些文件复制到该site-packages文件夹中。
site-packages
如何定义setup.py将文件复制到site-packes文件夹而不是子文件夹?
setup.py
site-packes
site-packages 目录应该包含模块(例如 spam.py)或包(spam/__init__.py)。在安装脚本中,py_modules 和包中引用的内容将安装在站点包中。你能解释一下你想要做什么而不适用于 py_modules 或包吗?