1.8 KiB
pygments module for Package Control
This is the pygments module bundled for usage with Package Control, a package manager for the Sublime Text text editor.
This repository | Pypi |
---|---|
How to use pygments as a dependency
In order to tell Package Control that you are using the pygments module in your ST package, create a dependencies.json
file in your package root with the following contents:
{
"*": {
"*": [
"pygments"
]
}
}
If the file exists already, add "pygments"
to the every dependency list.
Then run the Package Control: Satisfy Dependencies command to make Package Control install the module for you locally (if you don't have it already).
After all this you can use import pygments
in any of your Python plugins.
See also: Documentation on Dependencies
How to update this repository (for contributors)
- Download the latest zip from Bitbucket.
- Delete everything inside the
all/
folder. - Copy the
pygments/
folder to theall/
folder. - Commit changes and either create a pull request or create a tag directly in the format
v<version>
(in case you have push access).
License
The contents of the root folder in this repository are released under the public domain. The contents of the all/
folder fall under their own bundled licenses displayed on top of every file. If not displayed, see the LICENSE
file on pygments' Bitbucket.