https://github.com/varp/sublime-psutil
Python psutil package for SublimeText 3
https://github.com/varp/sublime-psutil
dependency plugin psutil python sublime-text-3
Last synced: about 1 year ago
JSON representation
Python psutil package for SublimeText 3
- Host: GitHub
- URL: https://github.com/varp/sublime-psutil
- Owner: varp
- License: mit
- Created: 2017-11-01T14:55:59.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2019-12-19T09:42:36.000Z (over 6 years ago)
- Last Synced: 2025-01-26T09:12:53.242Z (over 1 year ago)
- Topics: dependency, plugin, psutil, python, sublime-text-3
- Language: Python
- Size: 634 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Deprecation notice
Please use https://github.com/packagecontrol/psutil instead.
# *psutil* module for Package Control
This is the *[psutil](https://github.com/giampaolo/psutil)* module
bundled for usage with [Package Control](http://packagecontrol.io/),
a package manager
for the [Sublime Text](http://sublimetext.com/) text editor.
# TODO
- ~~Compile psutil 5.4.1 with Python 3.3 for Window platform~~
- ~~Compile psutil 5.4.6 libs for Linux x86 platform~~
## How to use *psutil* as a dependency
In order to tell Package Control
that you are using the *psutil* module
in your ST package,
create a `dependencies.json` file
in your package root
with the following contents:
```js
{
"*": {
">=3000": [
"psutil"
]
}
}
```
If the file exists already,
add `"psutil"` 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 psutil`
in any of your Python plugins.
See also:
[Documentation on Dependencies](https://packagecontrol.io/docs/dependencies)
## How to update this repository (for contributors)
1. Download the latest tarball
from [pypi](https://pypi.python.org).
2. Delete everything inside the `all/` folder.
3. Copy the `psutil/` folder
and everything related to copyright/licensing
from the tarball
to the `all/` folder.
4. Commit changes
and either create a pull request
or create a tag directly
in the format `v`
(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*.
## Links
- [psutil](https://github.com/giampaolo/psutil)
- [Package Control](http://packagecontrol.io/)
- [Sublime Text](http://sublimetext.com/)
- [pypi](https://pypi.python.org/pypi/psutil)