Allow python_pip builder to install relative packages
- Dominant language
- Python
- Stars
- 380
- Forks
- 161
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 2
Description
**Description:**
It is helpful for applications to sometimes structure themselves as multiple, separate packages. `sam build` currently can't require those local packages because the pip subprocess is run outside of the requirements.txt's directory.
**Steps to reproduce the issue:**
1. Init a sam project. Create a sub-package `mypackage` with its own setup.py.
2. Add `./mypackages` to your requriements.txt
3. Run `sam build`
**Observed result:**
Sam cannot find the local package `./mypackage`
Note: this does work currently when `sam build --use-container`
**Expected result:**
Sam would find, and install the local package `./mypackage`, regardless of building in a container or not.
**Additional environment details (Ex: Windows, Mac, Amazon Linux etc)**
Contributor guide
Assessment
This issue has not been assessed yet.