每次我使用 sdist 通过命令创建 MANIFEST 文件时:
'python setup.py sdist --manifest-only'
终端总是输出这个错误信息。
error: option --manifest-only not recognized
我不知道为什么,正在寻求帮助。
最佳答案
我猜你用
from setuptools import setup
在你的 setup.py 中? Setuptools 似乎不支持这个选项。我更喜欢坚持标准的 Python 方式并使用:
from distutils.core import setup
关于python - sdist 错误 : option --manifest-only not recognized,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5651806/