summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSybren A. Stüvel <sybren@stuvel.eu>2021-02-24 13:03:53 +0100
committerSybren A. Stüvel <sybren@stuvel.eu>2021-02-24 13:03:53 +0100
commit913829a342ecc86aebe28b5875cecce9d331fb10 (patch)
treeb5aa420931992b7e68730c882af8022c5d78e587
parent96a7a7dc092f9706be5005d538ed2b1cf9f07dae (diff)
downloadrsa-git-913829a342ecc86aebe28b5875cecce9d331fb10.tar.gz
Document how to use Poetry
Document how to use Poetry for setting up a dev environment and for building & publishing a new release.
-rw-r--r--README.md15
1 files changed, 14 insertions, 1 deletions
diff --git a/README.md b/README.md
index 6b0b336..02761da 100644
--- a/README.md
+++ b/README.md
@@ -24,7 +24,20 @@ licensed under the [Apache License, version 2.0](https://www.apache.org/licenses
## Security
-
Because of how Python internally stores numbers, it is very hard (if not impossible) to make a pure-Python program secure against timing attacks. This library is no exception, so use it with care. See https://securitypitfalls.wordpress.com/2018/08/03/constant-time-compare-in-python/ for more info.
+## Setup of Development Environment
+
+```
+python3 -m venv .venv
+. ./.venv/bin/activate
+pip install poetry
+poetry install
+```
+
+## Publishing a New Release
+```
+. ./.venv/bin/activate
+poetry publish --build
+```