forked from platypush/platypush
Fabio Manganiello
59c693d6a0
YAML isn't part of the Python standard library, while JSON is. If we want `setup.py` to dynamically parse the available integration manifest files in order to populate the extra dependencies, then it's better to rely on a JSON format for manifest files - the parser is part of the standard library and it doesn't require the user to install `pyyaml` before `platypush`.
32 lines
No EOL
611 B
JSON
32 lines
No EOL
611 B
JSON
{
|
|
"manifest": {
|
|
"events": [
|
|
"platypush.message.event.gps.GPSDeviceEvent",
|
|
"platypush.message.event.gps.GPSDisabledEvent",
|
|
"platypush.message.event.gps.GPSEnabledEvent",
|
|
"platypush.message.event.gps.GPSLocationUpdateEvent"
|
|
],
|
|
"install": {
|
|
"apk": [
|
|
"gpsd",
|
|
"py3-gpsd"
|
|
],
|
|
"apt": [
|
|
"gpsd",
|
|
"python3-gps"
|
|
],
|
|
"dnf": [
|
|
"gpsd",
|
|
"python-gpsd"
|
|
],
|
|
"pacman": [
|
|
"gpsd"
|
|
],
|
|
"pip": [
|
|
"gps"
|
|
]
|
|
},
|
|
"package": "platypush.plugins.gps",
|
|
"type": "plugin"
|
|
}
|
|
} |