@@ -27,14 +27,11 @@ pre-commit:
27
27
pre-commit autoupdate
28
28
pre-commit run --all-files
29
29
30
- # #####################
31
- # AWS API Gateway + Lambda + OpenAI
32
- # #####################
30
+ # ---------------------------------------------------------
31
+ # create python virtual environments for dev as well
32
+ # as for the Lambda layer.
33
+ # ---------------------------------------------------------
33
34
api-init :
34
- # ---------------------------------------------------------
35
- # create python virtual environments for dev as well
36
- # as for the Lambda layer.
37
- # ---------------------------------------------------------
38
35
make api-clean
39
36
npm install && \
40
37
python3.11 -m venv venv && \
@@ -50,10 +47,6 @@ api-init:
50
47
deactivate && \
51
48
pre-commit install
52
49
53
- api-activate :
54
- . venv/bin/activate && \
55
- pip install -r requirements.txt
56
-
57
50
api-test :
58
51
python -m unittest discover -s api/terraform/python/openai_api/
59
52
@@ -130,7 +123,6 @@ help:
130
123
@echo ' release - force a new release'
131
124
@echo ' -- AWS API Gateway + Lambda --'
132
125
@echo ' api-init - create a Python virtual environment and install dependencies'
133
- @echo ' api-activate - activate the Python virtual environment'
134
126
@echo ' api-test - run Python unit tests'
135
127
@echo ' api-lint - run Python linting'
136
128
@echo ' api-clean - destroy the Python virtual environment'
0 commit comments