from __future__ import absolute_import from __future__ import print_function import os from mojo.extensions import ExtensionBundle basePath = os.path.dirname(__file__) extensionPath = os.path.join(basePath, "AndysRFHacks.roboFontExt") libPath = os.path.join(basePath, "lib") htmlPath = os.path.join(basePath, "html") resourcesPath = os.path.join(basePath, "resources") B = ExtensionBundle() B.name = "Andy's RF Hacks" B.version = "1.3" B.developer = "Andy Clymer" B.developerURL = 'http://www.andyclymer.com/' B.mainScript = "Setup.py" B.launchAtStartUp = True B.addToMenu = [{ 'path': 'Manager.py', 'preferredName': 'Preferences', 'shortKey': '', }] B.requiresVersionMajor = '3' B.requiresVersionMinor = '1' B.infoDictionary["html"] = True B.save(extensionPath,
from __future__ import absolute_import from __future__ import print_function import os from mojo.extensions import ExtensionBundle basePath = os.path.dirname(__file__) extensionPath = os.path.join(basePath, "SlightlyBetterTransform.roboFontExt") libPath = os.path.join(basePath, "lib") htmlPath = os.path.join(basePath, "html") resourcesPath = os.path.join(basePath, "resources") B = ExtensionBundle() B.name = "Slightly Better Transform" B.version = "1.2" B.mainScript = "SlightlyBetterTransform.py" B.developer = "Andy Clymer" B.developerURL = 'http://www.andyclymer.com/' B.launchAtStartUp = True B.addToMenu = [] B.requiresVersionMajor = '3' B.requiresVersionMinor = '1' B.infoDictionary["html"] = True B.save(extensionPath, libPath=libPath, htmlPath=htmlPath, resourcesPath=resourcesPath, pycOnly=False)
# name of the extension B.name = "Threenterpolation" # name of the developer B.developer = 'LettError' # URL of the developer B.developerURL = 'http://letterror.com/tools.html' if resourcesPath: # extension icon (file path or NSImage) imagePath = os.path.join(resourcesPath, 'icon.png') B.icon = imagePath # version of the extension B.version = '1.0' # should the extension be launched at start-up? B.launchAtStartUp = False # script to be executed when RF starts #B.mainScript = 'startup.py' # does the extension contain html help files? B.html = htmlPath is not None # minimum RoboFont version required for this extension B.requiresVersionMajor = '3' B.requiresVersionMinor = '2' # scripts which should appear in Extensions menu
basePath = os.path.dirname(__file__) sourcePath = os.path.join(basePath, 'source') libPath = os.path.join(sourcePath, 'code') htmlPath = os.path.join(sourcePath, 'docs') resourcesPath = os.path.join(sourcePath, 'resources') licensePath = os.path.join(basePath, 'LICENSE') pycOnly = False extensionFile = 'ShapeTool.roboFontExt' extensionPath = os.path.join(basePath, extensionFile) B = ExtensionBundle() B.name = "ShapeTool" B.developer = 'TypeMyType' B.developerURL = 'http://www.typemytype.com' B.icon = os.path.join(basePath, 'ShapeToolMechanicIcon.png') B.version = '1.7' B.launchAtStartUp = True B.mainScript = 'drawShapesTool.py' B.html = True B.requiresVersionMajor = '3' B.requiresVersionMinor = '2' B.addToMenu = [] with open(licensePath) as license: B.license = license.read() # copy README + images to extension docs if not os.path.exists(htmlPath): os.makedirs(htmlPath) shutil.copyfile(os.path.join(basePath, 'README.md'), os.path.join(htmlPath, 'index.md')) for img in ['ShapeTool_dialog.png', 'ShapeTool_toolbar.png', 'ShapeToolMechanicIcon.png']:
from __future__ import absolute_import from __future__ import print_function import os from mojo.extensions import ExtensionBundle basePath = os.path.dirname(__file__) extensionPath = os.path.join(basePath, "ThemeManager.roboFontExt") libPath = os.path.join(basePath, "lib") htmlPath = os.path.join(basePath, "html") resourcesPath = os.path.join(basePath, "resources") B = ExtensionBundle() B.name = "Theme Manager" B.version = "1.0.2" B.developer = "Connor Davenport and Andy Clymer" B.developerURL = 'http://www.connordavenport.com/ http://www.andyclymer.com/' B.launchAtStartUp = False B.addToMenu = [{ 'path': 'ThemeManager.py', 'preferredName': 'Theme Manager...', 'shortKey': '', }] B.requiresVersionMajor = '3' B.requiresVersionMinor = '1' B.infoDictionary["html"] = True B.save(extensionPath, libPath=libPath,
import importlib importlib.reload(hTools2) import os from mojo.extensions import ExtensionBundle hTools2_path = os.path.dirname(os.path.dirname(hTools2.__file__ )) hTools2_html = os.path.join(os.path.dirname(hTools2_path), "Docs/build/html") extension_file = 'hTools2.roboFontExt' extension_path = os.path.join(os.path.dirname(__file__), extension_file) print('building extension...', end=' ') B = ExtensionBundle() B.name = "hTools2" B.developer = 'Gustavo Ferreira' B.developerURL = 'http://hipertipo.com/' B.version = "1.9" B.mainScript = "init-RF-extension.py" B.launchAtStartUp = 1 B.addToMenu = [] B.requiresVersionMajor = '1' B.requiresVersionMinor = '5' B.infoDictionary["repository"] = 'gferreira/hTools2' B.infoDictionary["summary"] = 'A collection of tools to help with common type design & font production tasks.' B.infoDictionary["html"] = 1 B.save(extension_path, libPath=hTools2_path, htmlPath=hTools2_html, resourcesPath=None, pycOnly=False) print('done.')
from __future__ import absolute_import from __future__ import print_function import os from mojo.extensions import ExtensionBundle basePath = os.path.dirname(__file__) extensionPath = os.path.join(basePath, "ThemeManager.roboFontExt") libPath = os.path.join(basePath, "lib") htmlPath = os.path.join(basePath, "html") resourcesPath = os.path.join(basePath, "resources") B = ExtensionBundle() B.name = "Theme Manager" B.version = "1.0" B.developer = "Connor Davenport and Andy Clymer" B.developerURL = 'http://www.connordavenport.com/ http://www.andyclymer.com/' B.launchAtStartUp = False B.addToMenu = [{ 'path': 'ThemeManager.py', 'preferredName': 'Theme Manager...', 'shortKey': '', }] B.requiresVersionMajor = '3' B.requiresVersionMinor = '1' B.infoDictionary["html"] = True B.save(extensionPath, libPath=libPath,
libPath = os.path.join(sourcePath, 'code') htmlPath = os.path.join(sourcePath, 'docs') resourcesPath = None licensePath = os.path.join(basePath, 'LICENSE') pycOnly = False extensionFile = 'groupSpacing.roboFontExt' extensionPath = os.path.join(basePath, extensionFile) # extension settings B = ExtensionBundle() B.name = "GroupSpacing" B.developer = 'Gustavo Ferreira' B.developerURL = 'http://hipertipo.com' B.icon = os.path.join(basePath, 'icon.png') B.version = '0.3.2' B.launchAtStartUp = False B.mainScript = '' B.html = True B.requiresVersionMajor = '3' B.requiresVersionMinor = '2' B.addToMenu = [ { 'path': 'groupSpacing.py', 'preferredName': 'GroupSpacing', 'shortKey': '', }, ] with open(licensePath) as license: B.license = license.read()
from mojo.extensions import ExtensionBundle # data extension_file = 'hTools2.roboFontExt' lib_path = os.path.dirname(os.path.dirname(hTools2.__file__)) base_path = os.path.dirname(lib_path) extension_path = os.path.join(base_path, extension_file) html_path = os.path.join(base_path, "Documentation/build/html") # create bundle B = ExtensionBundle() # meta B.name = "hTools2" B.developer = 'Gustavo Ferreira' B.developerURL = 'http://hipertipo.com/' B.version = "1.6" B.mainScript = "add-RF-menu.py" B.launchAtStartUp = True B.addToMenu = [] # lib B.requiresVersionMajor = '1' B.requiresVersionMinor = '5' B.infoDictionary["repository"] = 'gferreira/hTools2' # html B.html = 1 # save bundle B.save(extension_path, libPath=lib_path, htmlPath=html_path, resourcesPath=None, pycOnly=False)
# name of the extension B.name = "Overlay UFOs" # name of the developer B.developer = "David Jonathan Ross, Petr van Blokland, Roberto Arista" # URL of the developer B.developerURL = "http://github.com/roboDocs" # extension icon (file path or NSImage) imagePath = os.path.join(resourcesPath, "icon.png") B.icon = imagePath # version of the extension B.version = "2.0.1" # should the extension be launched at start-up? B.launchAtStartUp = True # script to be executed when RF starts B.mainScript = "customEvents.py" # does the extension contain html help files? B.html = True # minimum RoboFont version required for this extension B.requiresVersionMajor = "4" B.requiresVersionMinor = "2" # scripts which should appear in Extensions menu
libPath = os.path.join(basePath, 'LibExtension') htmlPath = os.path.join(basePath, 'html') licensePath = os.path.join(basePath, 'LICENSE') readmePath = os.path.join(basePath, 'README.md') extensionPath = os.path.join(basePath, 'GlyphConstruction.roboFontExt') modulePath = os.path.join(basePath, "Lib", "glyphConstruction.py") # ---------------- # create extension # ---------------- B = ExtensionBundle() B.name = "Glyph Construction" B.developer = 'Frederk Berlaen' B.developerURL = 'http://typemytype.com/' B.version = '0.5' B.launchAtStartUp = 0 B.mainScript = '' B.html = True B.requiresVersionMajor = '1' B.requiresVersionMinor = '5' B.addToMenu = [ { 'path' : 'glyphConstructionUI.py', 'preferredName': 'Glyph Builder', 'shortKey' : '', }, ] with open(licensePath, mode="r", encoding="utf-8") as f: B.license = f.read()
import os from mojo.extensions import ExtensionBundle basePath = os.path.dirname(__file__) extensionPath = os.path.join(basePath, "ControlBoard.roboFontExt") libPath = os.path.join(basePath, "lib") htmlPath = os.path.join(basePath, "html") resourcesPath = os.path.join(basePath, "resources") B = ExtensionBundle() B.name = "ControlBoard" B.version = "0.22b" B.mainScript = "ControlBoard.py" B.developer = "Andy Clymer" B.developerURL = 'http://www.andyclymer.com/' B.launchAtStartUp = False B.addToMenu = [{"path" : "ControlBoard.py", "preferredName" : "ControlBoard", "shortKey" : ""}] B.requiresVersionMajor = '1' B.requiresVersionMinor = '5' B.infoDictionary["html"] = True B.save(extensionPath, libPath=libPath, htmlPath=htmlPath, resourcesPath=resourcesPath, pycOnly=False) print "Done"
B.name = "GlyphBrowser" # name of the developer B.developer = 'LettError' # URL of the developer B.developerURL = 'http://letterror.com/tools.html' if resourcesPath: # extension icon (file path or NSImage) imagePath = os.path.join(resourcesPath, 'icon.png') imagePath = 'GlyphBrowserMechanicIcon.png' B.icon = imagePath # version of the extension B.version = '2.6.2' # should the extension be launched at start-up? B.launchAtStartUp = False # script to be executed when RF starts #B.mainScript = 'startup.py' # does the extension contain html help files? B.html = htmlPath is not None # minimum RoboFont version required for this extension B.requiresVersionMajor = '3' B.requiresVersionMinor = '2' # scripts which should appear in Extensions menu
basePath = os.path.dirname(__file__) sourcePath = os.path.join(basePath, 'source') libPath = os.path.join(sourcePath, 'code') htmlPath = os.path.join(sourcePath, 'docs') resourcesPath = os.path.join(sourcePath, 'resources') licensePath = os.path.join(basePath, 'LICENSE') extensionFile = 'ConstrainAngleTool.roboFontExt' extensionPath = os.path.join(basePath, extensionFile) B = ExtensionBundle() B.name = "ConstrainAngleTool" B.developer = 'RoboDocs' B.developerURL = 'http://gitlab.com/robodocs' B.icon = None # os.path.join(basePath, 'ConstrainAngleToolMechanicIcon.png') B.version = '0.1' B.launchAtStartUp = True B.mainScript = 'constrainAngleTool.py' B.html = False B.requiresVersionMajor = '3' B.requiresVersionMinor = '3' B.addToMenu = [] with open(licensePath) as license: B.license = license.read() print('building extension...', end=' ') B.save(extensionPath, libPath=libPath, htmlPath=htmlPath, resourcesPath=resourcesPath)
import hTools2 reload(hTools2) import os from mojo.extensions import ExtensionBundle hTools2_path = os.path.dirname(os.path.dirname(hTools2.__file__ )) hTools2_html = os.path.join(os.path.dirname(hTools2_path), "Docs/build/html") extension_file = 'hTools2.roboFontExt' extension_path = os.path.join(os.path.dirname(__file__), extension_file) print 'building extension...', B = ExtensionBundle() B.name = "hTools2" B.developer = 'Gustavo Ferreira' B.developerURL = 'http://hipertipo.com/' B.version = "1.9" B.mainScript = "init-RF-extension.py" B.launchAtStartUp = 1 B.addToMenu = [] B.requiresVersionMajor = '1' B.requiresVersionMinor = '5' B.infoDictionary["repository"] = 'gferreira/hTools2' B.infoDictionary["summary"] = 'A collection of tools to help with common type design & font production tasks.' B.infoDictionary["html"] = 1 B.save(extension_path, libPath=hTools2_path, htmlPath=hTools2_html, resourcesPath=None, pycOnly=False) print 'done.'
B.name = "GlyphBrowser" # name of the developer B.developer = 'LettError' # URL of the developer B.developerURL = 'http://letterror.com/tools.html' if resourcesPath: # extension icon (file path or NSImage) imagePath = os.path.join(resourcesPath, 'icon.png') imagePath = 'GlyphBrowserMechanicIcon.png' B.icon = imagePath # version of the extension B.version = '2.6.6' # should the extension be launched at start-up? B.launchAtStartUp = False # script to be executed when RF starts #B.mainScript = 'startup.py' # does the extension contain html help files? B.html = htmlPath is not None # minimum RoboFont version required for this extension B.requiresVersionMajor = '3' B.requiresVersionMinor = '2' # scripts which should appear in Extensions menu
from __future__ import absolute_import from __future__ import print_function import os from mojo.extensions import ExtensionBundle basePath = os.path.dirname(__file__) extensionPath = os.path.join(basePath, "ThemeManager.roboFontExt") libPath = os.path.join(basePath, "lib") htmlPath = os.path.join(basePath, "html") resourcesPath = os.path.join(basePath, "resources") B = ExtensionBundle() B.name = "Theme Manager" B.version = "1.0.1" B.developer = "Connor Davenport and Andy Clymer" B.developerURL = 'http://www.connordavenport.com/ http://www.andyclymer.com/' B.launchAtStartUp = False B.addToMenu = [{ 'path': 'ThemeManager.py', 'preferredName': 'Theme Manager...', 'shortKey': '', }] B.requiresVersionMajor = '3' B.requiresVersionMinor = '1' B.infoDictionary["html"] = True B.save(extensionPath, libPath=libPath,
libPath = os.path.join(sourcePath, 'code') htmlPath = os.path.join(sourcePath, 'docs') resourcesPath = None # os.path.join(sourcePath, 'resources') licensePath = os.path.join(basePath, 'LICENSE') pycOnly = False extensionFile = 'Batch.roboFontExt' extensionPath = os.path.join(basePath, extensionFile) # extension settings B = ExtensionBundle() B.name = "Batch" B.developer = 'TypeMyType' B.developerURL = 'http://www.typemytype.com' B.icon = None # os.path.join(basePath, 'BatchMechanicIcon.png') B.version = '1.9.9' B.launchAtStartUp = True B.mainScript = 'main.py' B.html = True B.requiresVersionMajor = '3' B.requiresVersionMinor = '2' B.addToMenu = [] with open(licensePath) as license: B.license = license.read() # copy README & imgs to extension docs shutil.copyfile(os.path.join(basePath, 'README.md'), os.path.join(htmlPath, 'index.md'))
# name of the extension B.name = "AngleRatioTool" # name of the developer B.developer = 'LettError' # URL of the developer B.developerURL = 'http://letterror.com' if resourcesPath: # extension icon (file path or NSImage) imagePath = os.path.join(resourcesPath, 'icon.png') B.icon = imagePath # version of the extension B.version = '0.3' # should the extension be launched at start-up? B.launchAtStartUp = True # script to be executed when RF starts B.mainScript = 'angleRatioTool.py' # does the extension contain html help files? B.html = htmlPath is not None # minimum RoboFont version required for this extension B.requiresVersionMajor = '4' B.requiresVersionMinor = '0' # scripts which should appear in Extensions menu
from __future__ import absolute_import from __future__ import print_function import os from mojo.extensions import ExtensionBundle basePath = os.path.dirname(__file__) extensionPath = os.path.join(basePath, "BezierSurgeon.roboFontExt") libPath = os.path.join(basePath, "lib") # htmlPath = os.path.join(basePath, "html") B = ExtensionBundle() B.name = "Bezier Surgeon" B.version = "0.201" B.developer = "Connor Davenport" B.developerURL = 'http://www.connordavenport.com/' B.mainScript = "BezierSurgeon.py" B.launchAtStartUp = True B.addToMenu = [{ 'path': 'BezierSurgeon.py', 'preferredName': 'Bezier Surgeon', 'shortKey': '', }] B.requiresVersionMajor = '3' B.requiresVersionMinor = '1' # B.infoDictionary["html"] = True B.save(extensionPath, libPath=libPath, pycOnly=False) # htmlPath=htmlPath, print("Done")
from mojo.extensions import ExtensionBundle lib_path = os.path.dirname(__file__) extension_file = 'MeasureHandles.roboFontExt' extension_path = os.path.join(os.path.join(lib_path, 'extension'), extension_file) # extension_html = os.path.join(lib_path, "_docs") extension_lib_path = os.path.join(extension_path, 'lib') print 'building extension...', B = ExtensionBundle() B.name = u"Measure Handles Tool" B.developer = u'Gustavo Ferreira, Johannes Breyer' B.developerURL = 'http://hipertipo.com/' B.version = "0.1" B.mainScript = "MeasureHandlesTool.py" B.launchAtStartUp = 1 B.addToMenu = [] B.requiresVersionMajor = '1' B.requiresVersionMinor = '5' B.infoDictionary["html"] = 0 B.infoDictionary["com.robofontmechanic.Mechanic"] = { "repository": "johannesbreyer/HandleLength", "description": "A tool to display length & angle of bezier handles in a glyph", } B.save(extension_path, libPath=lib_path, htmlPath=None, resourcesPath=None,
M = markdown.Markdown(extensions=[TocExtension(permalink=True), FencedCodeExtension()]) html = htmlTemplate % M.convert(mdSrc) htmlFile = codecs.open(htmlIndexPath, mode="w", encoding="utf-8") htmlFile.write(html) htmlFile.close() # ---------------- # create extension # ---------------- B = ExtensionBundle() B.name = "Glyph Construction" B.developer = 'Frederk Berlaen' B.developerURL = 'http://typemytype.com/' B.version = '0.4' B.launchAtStartUp = 0 B.mainScript = '' B.html = True B.requiresVersionMajor = '1' B.requiresVersionMinor = '5' B.addToMenu = [ { 'path' : 'glyphConstructionUI.py', 'preferredName': 'Glyph Builder', 'shortKey' : '', }, ] with codecs.open(licensePath, mode="r", encoding="utf-8") as f: B.license = f.read()
installAfterBuild = True basePath = os.path.dirname(__file__) sourcePath = os.path.join(basePath, "source") libPath = os.path.join(sourcePath, "code") licensePath = os.path.join(basePath, "license.txt") requirementsPath = os.path.join(basePath, "requirements.txt") extensionFile = "%s.roboFontExt" % name buildPath = os.path.join(basePath, "build") extensionPath = os.path.join(buildPath, extensionFile) B = ExtensionBundle() B.name = name B.developer = developer B.developerURL = developerURL B.version = version B.launchAtStartUp = False B.mainScript = "main.py" B.html = os.path.exists(os.path.join(sourcePath, "documentation", "index.html")) B.requiresVersionMajor = roboFontVersion.split(".")[0] B.requiresVersionMinor = roboFontVersion.split(".")[1] B.addToMenu = menuItems if os.path.exists(licensePath): with open(licensePath) as license: B.license = license.read() if os.path.exists(requirementsPath): with open(requirementsPath) as requirements: B.requirements = requirements.read() print("building extension...", end=" ")
from __future__ import absolute_import from __future__ import print_function import os from mojo.extensions import ExtensionBundle basePath = os.path.dirname(__file__) extensionPath = os.path.join(basePath, "InterpolationSlider.roboFontExt") libPath = os.path.join(basePath, "lib") htmlPath = os.path.join(basePath, "html") resourcesPath = os.path.join(basePath, "resources") B = ExtensionBundle() B.name = "Interpolation Slider" B.version = "1.1" B.mainScript = "InterpolationSlider.py" B.developer = "Andy Clymer" B.developerURL = 'http://www.andyclymer.com/' B.launchAtStartUp = False B.addToMenu = [{ "path": "InterpolationSlider.py", "preferredName": "Interpolation Slider...", "shortKey": "" }] B.requiresVersionMajor = '1' B.requiresVersionMinor = '8' B.infoDictionary["html"] = True B.save(extensionPath,
import os import shutil from mojo.extensions import ExtensionBundle lib_path = os.path.dirname(__file__) extension_file = 'MeasureHandles.roboFontExt' extension_path = os.path.join(os.path.join(lib_path, 'extension'), extension_file) # extension_html = os.path.join(lib_path, "_docs") extension_lib_path = os.path.join(extension_path, 'lib') print 'building extension...', B = ExtensionBundle() B.name = u"Measure Handles Tool" B.developer = u'Gustavo Ferreira, Johannes Breyer' B.developerURL = 'http://hipertipo.com/' B.version = "0.1" B.mainScript = "MeasureHandlesTool.py" B.launchAtStartUp = 1 B.addToMenu = [] B.requiresVersionMajor = '1' B.requiresVersionMinor = '5' B.infoDictionary["html"] = 0 B.infoDictionary["com.robofontmechanic.Mechanic"] = { "repository" : "johannesbreyer/HandleLength", "description" : "A tool to display length & angle of bezier handles in a glyph", } B.save(extension_path, libPath=lib_path, htmlPath=None, resourcesPath=None, pycOnly=False) print 'done.\n'
# name of the extension B.name = "EditThatNextMaster" # name of the developer B.developer = 'LettError' # URL of the developer B.developerURL = 'http://letterror.com/tools.html' if resourcesPath: # extension icon (file path or NSImage) imagePath = os.path.join(resourcesPath, 'icon.png') B.icon = imagePath # version of the extension B.version = '1.2.4' # should the extension be launched at start-up? B.launchAtStartUp = True # script to be executed when RF starts B.mainScript = 'startup.py' # does the extension contain html help files? B.html = htmlPath is not None # minimum RoboFont version required for this extension B.requiresVersionMajor = '3' B.requiresVersionMinor = '2' # scripts which should appear in Extensions menu
# name of the extension B.name = "myExtension" # name of the developer B.developer = 'RoboDocs' # URL of the developer B.developerURL = 'http://github.com/roboDocs' # extension icon (file path or NSImage) imagePath = os.path.join(resourcesPath, 'icon.png') B.icon = imagePath # version of the extension B.version = '0.2.6' # should the extension be launched at start-up? B.launchAtStartUp = True # script to be executed when RF starts B.mainScript = 'hello.py' # does the extension contain html help files? B.html = True # minimum RoboFont version required for this extension B.requiresVersionMajor = '4' B.requiresVersionMinor = '0' # scripts which should appear in Extensions menu
libPath = os.path.join(basePath, 'LibExtension') htmlPath = os.path.join(basePath, 'html') licensePath = os.path.join(basePath, 'LICENSE') readmePath = os.path.join(basePath, 'README.md') extensionPath = os.path.join(basePath, 'GlyphConstruction.roboFontExt') modulePath = os.path.join(basePath, "Lib", "glyphConstruction.py") # ---------------- # create extension # ---------------- B = ExtensionBundle() B.name = "Glyph Construction" B.developer = 'Frederk Berlaen' B.developerURL = 'http://typemytype.com/' B.version = '0.4' B.launchAtStartUp = 0 B.mainScript = '' B.html = True B.requiresVersionMajor = '1' B.requiresVersionMinor = '5' B.addToMenu = [ { 'path': 'glyphConstructionUI.py', 'preferredName': 'Glyph Builder', 'shortKey': '', }, ] with open(licensePath, mode="r", encoding="utf-8") as f: B.license = f.read()