内容哪里来:
能带来什么:
pip install <name>
pip freeze -r \
> requirements.txt
poetry new pydaily
tree pydaily
poetry shell
poetry add requests
poetry add pytest -D
[tool.poetry.dependencies]
# Get the latest revision on the branch named "next"
requests = { git = "https://github.com/kennethreitz/requests.git", branch = "next" }
poetry add "https://github.com/myorg/mypackage_with_subdirs.git#subdirectory=subdir"
[tool.poetry.dependencies]
# directory
my-package = { path = "../my-package/", develop = false }
# file
my-package = { path = "../my-package/dist/my-package-0.1.0.tar.gz" }