lia*_*dee 9 python setup.py python-3.x
我有一个条目setup.py来安装一个不在PyPi上托管的软件包,必须使用setup.py进行编译,因为它是一个C扩展.我运行时没有安装python setup.py install,我检查了日志,我不明白为什么.
dependency_links = ['git+https://github.com/liamzebedee/scandir.git#egg=scandir-0.1'],
Run Code Online (Sandbox Code Playgroud)
lia*_*dee 13
事实证明,除了dependency_links一行之外,我还需要在一行中添加包的名称install_requires,如下所示:
dependency_links = ['git+https://github.com/liamzebedee/scandir.git#egg=scandir-0.1'],
install_requires = ['scandir'],
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
2743 次 |
| 最近记录: |