Skip to main content

The GIMP Plugin Installer command-line tool

Project description

# GIMP Plugin Installer

![Build Status](https://travis-ci.org/tschuy/gpi.svg)

Install GIMP plugins from the command line with a simple, easy to use package
manager.

Usage
-----

Install from gpi-web:

```
$ gpi install imguruploader
```

Uninstall an installed package:
```
$ gpi uninstall imguruploader
```

Install from a locally downloaded file:
```
$ gpi install -f ~/imgur-uploader.tar.gz
```

Anatomy of a gpi package (aka how to package your plugin)
---------------------------------------------------------

The root level of a gpi package requires two things: a ``gpi.json`` manifest
file, and a ``contents/`` directory. The ``contents/`` directory will be
extracted directly to the user's GIMP plugin directory, so make sure you only
include files necessary for your plugin. You can put other content, like a
LICENSE or CHANGELOG, in the root of the package. Files outside of ``contents/``
will be ignored.

Your ``gpi.json`` file should look like this:

```
{
"version": "0.1.0",
"name": "Imgur Uploader",
"identifier": "imguruploader",
"author": "tschuy",
"license": "MIT",
"url": "https://github.com/tschuy/gimp-export-to-imgur",
"description": "Upload your images to Imgur directly from the Save menu"
}
```
To test your plugin, pass your ``.tar.gz`` to gpi with the ``-f`` flag. Open
GIMP, and verify your plugin works as expected.

Testing gpi
-----------

Currently, ``gpi`` has no tests. This is a major issue and will be rectified as
soon as possible.

Issues
------

1. Remove empty folders on uninstall
2. Catch duplicate files and disallow uninstallation (or fix GIMP to allow recursive plugin finding)
3. Install plugins from git
4. Documentation
5. Code cleanup
6. Allow the use of a virtualenv to install packages from pip
7. Add verbose mode

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gpi-0.1.1.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

gpi-0.1.1-py2-none-any.whl (5.8 kB view details)

Uploaded Python 2

File details

Details for the file gpi-0.1.1.tar.gz.

File metadata

  • Download URL: gpi-0.1.1.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for gpi-0.1.1.tar.gz
Algorithm Hash digest
SHA256 b8ee5018b924d0cd45dccd3fb83d93748f0cd9d3c1f3a3a31c7f89cbcc3e558d
MD5 d614e5e67ab27c2ae50b13de75ec63e8
BLAKE2b-256 e99d05e116997b9f04719591813653005ba9d412f258a403fc595d47743dc087

See more details on using hashes here.

File details

Details for the file gpi-0.1.1-py2-none-any.whl.

File metadata

File hashes

Hashes for gpi-0.1.1-py2-none-any.whl
Algorithm Hash digest
SHA256 6bb44389954387aaf668c1aa573d66faf71f03733a5b76fad54dff32d3b44d80
MD5 fa6e0b6674405b015dd5b4c51b76db0e
BLAKE2b-256 d0e801fb38ec88a8bc2da0952a62cf043d9ef762f037bc3175eea4514d9121ce

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page