Sublime Forum

How to install available python dependencies for plugin?

#1

Hi!
I want to use python-markdown dependency for my package, so I tried to add dependencies.json to root and ran command Package Control: Satisfy Dependencies, but that didn’t work
I feel it should be easy, but I cannot understand, what am I doing wrong?

0 Likes

#2

That’s all, which is needed.

  1. add a Packages\MyPackage\dependencies.json
  2. Run Package Control Satisfiy Dependencies

Example:

{
    "*": {
        "*": [
            "lsp_utils",
            "sublime_lib"
        ]
    }
}

Note: The dependency needs to be registered at packagecontrol.io and must be available for your platform.

0 Likes

#3

Thank you for the quick reply!

I managed to solve my problem by deleting .python-version file. As far as I understood, Satisfy Dependencies (dependecies.json) works only with python 3.3;(

0 Likes

#4

Support for python 3.8 dependencies is planned for Package Control 4.

1 Like