* Add script to setup venv for a connector * new line * echo * Add missing requirements file * Add script to add venvs to intellij * script to install venv * Update * This should be easier to use * Better default * Add unit tests * add install venv option flag * remove references to my own own home directory * Call tools/bin/setup_connector_venv.sh * Skip module if it already exists in the jdk table * update * Set right test name * better interface * update * rename flag * move to a function * fix variable name * derp * Use real path * Update setup instructions * update instructions * Instructions to both install the venv and update intellij * update link * Add command to install venv for all connectors * <> * newline
15 lines
300 B
Bash
Executable File
15 lines
300 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
|
|
CONNECTOR=$1
|
|
PYTHON_EXECUTABLE=${2-python}
|
|
echo Installing requirements for $CONNECTOR
|
|
|
|
cd airbyte-integrations/connectors/$CONNECTOR
|
|
$PYTHON_EXECUTABLE -m venv .venv
|
|
source .venv/bin/activate
|
|
pip install -r requirements.txt
|
|
pip install '.[tests]'
|
|
pip install pytest-cov
|