From cd1a4dbca53bab5c3df35ba3a6187398a2154f17 Mon Sep 17 00:00:00 2001 From: Moul <moul@moul.re> Date: Sun, 2 Jul 2023 15:14:06 +0200 Subject: [PATCH] readme: Remove need for Poetry to run examples Still a discovery process which does and shall not requires Poetry, unless editing the examples Try to simplify the entry Remove Poetry installation for the usage, discovery not DuniterPy development itself --- README.md | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index b9175f8..e8cf6a6 100644 --- a/README.md +++ b/README.md @@ -58,10 +58,6 @@ pip install --user duniterpy Once you want to add DuniterPy to your Python project, you can add it as a dependency to your Python development environment: `pyproject.toml`, `requirements.txt`, `setup.py`. We recommend [Poetry](https://python-poetry.org) usage. -## Install the development environment - -- [Install Poetry](https://python-poetry.org/docs/#installation) - ## Documentation [Online official automaticaly generated documentation](https://clients.pages.duniter.org/python/duniterpy/index.html) @@ -74,15 +70,17 @@ The [examples folder](https://git.duniter.org/clients/python/duniterpy/tree/mast - Run examples from parent folder directly ```bash -poetry run python examples/request_data.py +python examples/request_data.py ``` Or from Python interpreter: ```bash -poetry run python +python >>> import examples +# To list available examples >>> help(examples) +# Run example >>> examples.create_public_key() ``` -- GitLab