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: airbyte-integrations/bases/base-normalization/README.md
+20
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,25 @@ Related documentation on normalization is available here:
9
9
10
10
Below are short descriptions of the kind of tests that may be affected by changes to the normalization code.
11
11
12
+
### Build & Activate Virtual Environment and install dependencies
13
+
From this connector directory, create a virtual environment:
14
+
```
15
+
python3 -m venv .venv
16
+
```
17
+
18
+
This will generate a virtualenv for this module in `.venv/`. Make sure this venv is active in your
19
+
development environment of choice. To activate it from the terminal, run:
20
+
```
21
+
source .venv/bin/activate
22
+
pip install -r requirements.txt
23
+
```
24
+
If you are in an IDE, follow your IDE's instructions to activate the virtualenv.
25
+
26
+
Note that while we are installing dependencies from `requirements.txt`, you should only edit `setup.py` for your dependencies. `requirements.txt` is
27
+
used for editable installs (`pip install -e`) to pull in Python dependencies from the monorepo and will call `setup.py`.
28
+
If this is mumbo jumbo to you, don't worry about it, just put your deps in `setup.py` but install using `pip install -r requirements.txt` and everything
29
+
should work as you expect.
30
+
12
31
## Unit Tests
13
32
14
33
Unit tests are automatically included when building the normalization project.
@@ -56,6 +75,7 @@ allowed characters, if quotes are needed or not, and the length limitations:
Copy file name to clipboardExpand all lines: airbyte-integrations/bases/base-normalization/dbt-project-template/macros/cross_db_utils/json_operations.sql
Copy file name to clipboardExpand all lines: airbyte-integrations/bases/base-normalization/dbt-project-template/macros/cross_db_utils/type_conversions.sql
0 commit comments