Replies: 2 comments 2 replies
-
I was looking for information about poetry and I found several approaches:
This package has several uses which might help us to do the development quick and easy. |
Beta Was this translation helpful? Give feedback.
0 replies
-
I'd like to know why poetry instead of the old but well-known pip? 🤔. There're some intriguing comments on this blog post about Poetry for anyone interested. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What is Poetry
Poetry is a tool for dependency management and packaging in Python. It allows you to declare the libraries your project depends on and it will manage (install/update) them for you.
Why we must use poetry?
Dependency management and Packaging
poetry install
to get the dependencies with which was developed TVM.Python environments
Also with poetry, you won't need to create a virtualenv, since with poetry you can run commands using
poetry run <your command>
or enable a virtual python environment usingpoetry shell
, if you want use a specific python environment you can do it withpoetry env use <python path or python-version>
Build & Publish
poetry build
poetry publish
Beta Was this translation helpful? Give feedback.
All reactions