A collection of scripts replace local packages with versions and vice versa
When developing multiple Python packages concurrently with Poetry manageed environments you
can install the local package as path requirements. Ie when you develop
foo as dependency, which you also want to edit, you can
poetry add ../foo from
bar package. But when you want to publish
bar, you have to change the path requirement back to a version requirement.
bar you have to switch back to
foo as a path requirement
in order to continue develop both concurrently.
This package will help you to improve that task. With one command all version requirements will be changed to path requirements (when the package is checkout in a sibling directory with the same as the package name).
This results in a changed
poetry update is called
to make sure the package on the path is installed as editable package.
Before publishing, the path requirements can be switched back to version requirements with the following command.
The version of the dependency on the local path will be
used as minimal caret version in the changed
poetry update is called to make sure the corresponding version
from the repository will be installed.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size poetry_dev-0.1.2-py3-none-any.whl (3.7 kB)||File type Wheel||Python version py3||Upload date||Hashes View|
|Filename, size poetry-dev-0.1.2.tar.gz (3.5 kB)||File type Source||Python version None||Upload date||Hashes View|
Hashes for poetry_dev-0.1.2-py3-none-any.whl