我已将contributed存根文件保存到ordered-set库中。包括存根文件Ifollowed来自MyPy和PEP-561的建议。但是当我python setup.py sdist
时,我得到的是没有ordered_set.pyi
文件的分发:
$ tar -tvf dist/ordered-set-*.tar.gz --wildcards '*pyi'
tar: *pyi: Not found in archive
tar: Exiting with failure status due to previous errors
我做错什么了?在
另外,与存根文件包含相关的代码在distutils
库中的何处?我已经让它尝试调试我的问题,但没有找到任何结果。在
Robyn Speer(图书馆的作者)找到了答案:
相关问题 更多 >
编程相关推荐