DEV Community

Discussion on: Let's Set Up Poetry - Clean Python DevEnv for 2020

Collapse
 
patarapolw profile image
Pacharapol Withayasakpunt

I use macOS, then use pyenv to globalize Python 3.8.0; then install Poetry via cURL; then run poetry directly.

But yeah, after that I set poetry config virtualenvs.in-project true

The rest is, to prevent running commands with global Python; I can always use poetry run python ./script.py or poetry run python -m http.server.

I also use poetry init to create virtualenv regularly, before running the project in PyCharm.

I have never grown to like Pipenv.

Collapse
 
0xkoji profile image
0xkoji

Sounds good. I will use Poetry on macOS soon.
Thank you for sharing the info!