package_control icon indicating copy to clipboard operation
package_control copied to clipboard

Can't specify dependencies for the User package

Open FichteFoll opened this issue 4 years ago • 1 comments

Currently, Package Control pretty much completely ignores the User package for all management purposes (it's excluded in PackageManager.list_packages), but that also means it doesn't look into it when satisfying dependencies. I would like to be able to use dependencies in my simple one-off plugins in my User package.

FichteFoll avatar Apr 04 '20 10:04 FichteFoll

Package Control: Install Local Dependency does install dependencies for local packages and Package Control: Satisfy Dependencies updates them.

It does seem a bit weird though, I would hope those would just work without having to manually trigger those commands.

rchl avatar Aug 17 '20 18:08 rchl

Package Control: Install Local Dependency doesn't seem to read Packages/User/dependencies.json to install new dependencies. Package Control: Satisfy Dependencies also doesn't read the file in Packages/User, but it will read Packages/SomeRandomPlugin/dependencies.json.

So, as a workaround, you'll just need to create a Local Dependencies (or similar) folder in Packages and put a dependencies.json file in it that you update whenever you need a new dependency for a one-off that you're working on. You'll then have to satisfy dependencies before you can use it.

MattDMo avatar Apr 01 '23 19:04 MattDMo