Created
June 2, 2016 18:09
-
-
Save yorikvanhavre/0178b431dfb49d12f7554f20e768c73e to your computer and use it in GitHub Desktop.
sample fetch script for freecad
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class plugin: | |
author = "xyz" | |
type = "macro" | |
description = "this plugin does this" | |
baseurl = "http://github.com/mymacro" | |
infourl = "http://github.com/mymacro/README.md" | |
class Fetch: | |
def __init__(): | |
installpath = "/path/to/macros" | |
def getListOfPlugins(): | |
return [plugin1, plugin2,...] | |
def getInfo(plugin): | |
return "This plugins does this and that" | |
def install(plugin): | |
print "installing..." | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment