Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

make poetry env

//Setting up a new project
poetry new projectName

//Initialising a pre-existing project
cd preExistingProjectFolder
poetry init

//Install project dependencies
cd preExistingProjectFolder
poetry install

//Show environment path
cd preExistingProjectFolder
poetry env info -p

//Add packages
cd preExistingProjectFolder
poetry add packagename1 packagename2
Source by python-poetry.org #
 
PREVIOUS NEXT
Tagged: #poetry #env
ADD COMMENT
Topic
Name
8+3 =