You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+9-8Lines changed: 9 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,22 +14,23 @@ We encourage pull requests and other contributions from the community. Before su
14
14
15
15
### Setup
16
16
17
-
It's advisable to use [`virtualenv`](https://virtualenv.pypa.io/) to create a development environment within the project directory:
17
+
This project is built using [poetry](https://python-poetry.org/). To learn more about the basics of working with this tool, read [Poetry's basic usage guide](https://python-poetry.org/docs/basic-usage/).
18
+
19
+
To begin development, active the poetry shell and ensure your dependencies are installed.
This library defines several extra dependencies to optionally enhance the SDK's capabilities. Use the following commands to install one or more of the available extras.
25
27
26
28
```
27
-
pip install -r requirements.txt
28
-
pip install -r test-requirements.txt
29
+
poetry install --extras "redis consul dynamodb test-filesource"
30
+
poetry install -E redis -E consul -E dynamodb -E test-filesource
31
+
poetry install --all-extras
29
32
```
30
33
31
-
The additional requirements files `consul-requirements.txt`, `dynamodb-requirements.txt`, `redis-requirements.txt`, and `test-filesource-optional-requirements.txt` can also be installed if you need to test the corresponding features.
32
-
33
34
### Testing
34
35
35
36
To run all unit tests except for the database integrations:
0 commit comments