Poetry Concepts: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 11: Line 11:
=Virtual Environments=
=Virtual Environments=


Poetry maintains its virtual environments under <code>~/Library/Caches/pypoetry/virtualenvs</code>. Each virtual environment is named <font color=darkkhaki>after what?</font>, and it is postfixed by a hash (<code>ZyD6nUaS</code>).  
Poetry maintains its virtual environments under <code>~/Library/Caches/pypoetry/virtualenvs</code>. Each virtual environment is named <font color=darkkhaki>after what?</font>, and it is postfixed by a hash (<code>ZyD6nUaS</code>). There is an index file <code>~/Library/Caches/pypoetry/virtualenvs/envs.toml</code>.


The virtual environment is created <font color=darkkhaki>when?</font>, <font color=darkkhaki>how?</font>
The virtual environment is created <font color=darkkhaki>when?</font>, <font color=darkkhaki>how?</font>

Revision as of 20:30, 3 November 2023

Internal

Overview

Poetry is a Python package management tool and an environment manager. Can be used to build and share packages.

pyproject.toml

The file contains project dependencies.

Virtual Environments

Poetry maintains its virtual environments under ~/Library/Caches/pypoetry/virtualenvs. Each virtual environment is named after what?, and it is postfixed by a hash (ZyD6nUaS). There is an index file ~/Library/Caches/pypoetry/virtualenvs/envs.toml.

The virtual environment is created when?, how?