Zacharia2 / SuperMemo-Toolkit

SuperMemo 增强工具(CLI命令行)。包含图链整理、EPUB图书转换导入、Latex公式转图片等。
GNU General Public License v2.0
24 stars 3 forks source link

使用setup.py替代 #20

Closed Zacharia2 closed 8 months ago

Zacharia2 commented 8 months ago

https://zhuanlan.zhihu.com/p/276461821?utm_id=0

Zacharia2 commented 8 months ago

https://www.cnblogs.com/kirin-dev/p/Requirements_Setup.html

install_requires(即 setup.py)定义了单个项目的依赖关系,而requirements.txt 通常用于定义完整 Python 环境。

首先要看pip --version链接的python和直接call python --version路径是不是一样。除此之外,setup.py会在pip install时检查依赖,而requirement.txt并不会在pip install 时被检查

Zacharia2 commented 8 months ago

https://pyzh.readthedocs.io/en/latest/python-setup-dot-py-vs-requirements-dot-txt.html

this