如果您有 Node 项目的源代码,命令 npm link
会以这样的方式安装它,您所做的任何更改都会应用到任何地方,而无需重新安装。
npm link is designed to install a development package and see the changes in real time without having to keep re-installing it.
https://www.npmjs.org/doc/misc/npm-developers.html#link-packages
Python 项目有类似的吗?
最佳答案
是的,pip install -e .
或 python setup.pydevelop
参见http://pip.readthedocs.org/en/latest/reference/pip_install.html#editable-installs
关于python - npm link 的 Python 类似物是什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26401592/