forked from python-poetry/poetry
-
Notifications
You must be signed in to change notification settings - Fork 1
Installation
Benny Lutati edited this page Sep 1, 2021
·
8 revisions
Relaxed-Poetry provides a custom installer that will install relaxed-poetry
isolated from the rest of your system.
☝️ The installed relaxed-poetry command name is rp
, read about it here
curl -sSL https://raw.githubusercontent.com/bennylut/relaxed-poetry/master/install-poetry.py | `which python3 || which python` -
(Invoke-WebRequest -Uri https://raw.githubusercontent.com/bennylut/relaxed-poetry/master/install-poetry.py -UseBasicParsing).Content | python -
The installer is mostly kept as in the original poetry with minor changes:
- The created commandline is
rp
instead ofpoetry
- The
--preview
flag was removed as it not make sense here - RP_HOME is the POETRY_HOME environment variable counterpart
- Installation directory changed so to allow installation side by side with the original poetry.
I plan to add a command to "relax" an existing poetry project, until then, to use relaxed-poetry with a precreated poetry project just install relaxed-poetry and change the build system section into:
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
You can now use the rp
command with this project