Skip to content

Commit 913829a

Browse files
committed
Document how to use Poetry
Document how to use Poetry for setting up a dev environment and for building & publishing a new release.
1 parent 96a7a7d commit 913829a

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

README.md

+14-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,20 @@ licensed under the [Apache License, version 2.0](https://www.apache.org/licenses
2424

2525
## Security
2626

27-
2827
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.
2928

29+
## Setup of Development Environment
30+
31+
```
32+
python3 -m venv .venv
33+
. ./.venv/bin/activate
34+
pip install poetry
35+
poetry install
36+
```
37+
38+
## Publishing a New Release
3039

40+
```
41+
. ./.venv/bin/activate
42+
poetry publish --build
43+
```

0 commit comments

Comments
 (0)