Add editable package installation to workflows
- Added step to install the package in editable mode. - Updated Dockerfile to include editable package installation.
This commit is contained in:
@@ -25,6 +25,9 @@ jobs:
|
|||||||
- name: Install project dependencies
|
- name: Install project dependencies
|
||||||
run: pip install -r requirements.txt
|
run: pip install -r requirements.txt
|
||||||
|
|
||||||
|
- name: Install your package (editable)
|
||||||
|
run: pip install --no-deps -e .
|
||||||
|
|
||||||
- name: Extract functionInputSchema
|
- name: Extract functionInputSchema
|
||||||
id: extract_schema
|
id: extract_schema
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
@@ -17,6 +17,7 @@ RUN pip install --no-use-pep517 'stringcase==1.2.0'
|
|||||||
|
|
||||||
# Install all dependencies from requirements.txt
|
# Install all dependencies from requirements.txt
|
||||||
RUN pip install --no-cache-dir -r requirements.txt
|
RUN pip install --no-cache-dir -r requirements.txt
|
||||||
|
RUN pip install --no-deps -e .
|
||||||
|
|
||||||
# Set the PYTHONPATH to find modules in src/
|
# Set the PYTHONPATH to find modules in src/
|
||||||
ENV PYTHONPATH="/home/speckle/src"
|
ENV PYTHONPATH="/home/speckle/src"
|
||||||
|
|||||||
Reference in New Issue
Block a user