Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support specifying the *exact* library folder for a given environment #4990

Open
1 task done
SRGDamia1 opened this issue Oct 7, 2024 · 0 comments
Open
1 task done
Labels

Comments

@SRGDamia1
Copy link

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

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)
,
lm = LibraryPackageManager(
os.path.join(config.get("platformio", "libdeps_dir"), project_env)
)
, and probably several other places.

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants