-
-
Notifications
You must be signed in to change notification settings - Fork 849
Open
Labels
Description
What kind of issue is this?
- Feature Request
I would like to specify the exactly folder for the library dependencies for a given environment. Currently only specifying the parent directory for the group of individual folders is supported. The new folder location would have to be fixed in
platformio-core/platformio/package/commands/install.py
Lines 223 to 230 in b537004
| env_lm = LibraryPackageManager( | |
| os.path.join(config.get("platformio", "libdeps_dir"), project_env), | |
| compatibility=( | |
| PackageCompatibility(**compatibility_qualifiers) | |
| if compatibility_qualifiers | |
| else None | |
| ), | |
| ) |
| storage_dir = Path(config.get("platformio", "libdeps_dir"), project_env) |
platformio-core/platformio/package/commands/install.py
Lines 314 to 316 in b537004
| lm = LibraryPackageManager( | |
| os.path.join(config.get("platformio", "libdeps_dir"), project_env) | |
| ) |
If you could specify the exact location for library dependencies for each environment, it would be easy to share the downloaded dependencies across various environments or projects, solving #4451 without scripting.