4

所以我不确定这个功能是否存在。这是场景:

我已经使用来设置我的项目,并且$ python setup.py sdist每次我想要发布新版本时都会运行该命令。问题是,这使得开始变得多余并且该过程可能需要太长时间,特别是当我更新的只是一个或两个文件时。我不需要创建一个全新的项目,只需更新与前一个项目相比发生的变化。有没有人可以做到这一点?如果不清楚,那么我可以尝试更好地解释,但让我们看看人们是否理解我的意思。

4

1 回答 1

1

If you indeed want to make a release each time and are bothered by the time it takes, you are probably making releases too often.

However, if you're only looking for installing the package locally for testing, you should be doing pip install -e /path/to/package, which creates symlinks for your package in the system. You only need to do this once. Every change to the package source will be immediately seen by the system

于 2012-08-13T17:10:01.183 回答