jupyterlab-makefile-file-type-extension 1.0.4__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of jupyterlab-makefile-file-type-extension might be problematic. Click here for more details.

Files changed (13) hide show
  1. jupyterlab_makefile_file_type_extension/__init__.py +16 -0
  2. jupyterlab_makefile_file_type_extension/_version.py +4 -0
  3. jupyterlab_makefile_file_type_extension-1.0.4.data/data/share/jupyter/labextensions/jupyterlab_makefile_file_type_extension/install.json +5 -0
  4. jupyterlab_makefile_file_type_extension-1.0.4.data/data/share/jupyter/labextensions/jupyterlab_makefile_file_type_extension/package.json +205 -0
  5. jupyterlab_makefile_file_type_extension-1.0.4.data/data/share/jupyter/labextensions/jupyterlab_makefile_file_type_extension/static/575.f4493e75c54f17e3b4a5.js +1 -0
  6. jupyterlab_makefile_file_type_extension-1.0.4.data/data/share/jupyter/labextensions/jupyterlab_makefile_file_type_extension/static/728.1918bf9a0180bf411ce7.js +1 -0
  7. jupyterlab_makefile_file_type_extension-1.0.4.data/data/share/jupyter/labextensions/jupyterlab_makefile_file_type_extension/static/remoteEntry.dfb0bf6d00b00d642270.js +1 -0
  8. jupyterlab_makefile_file_type_extension-1.0.4.data/data/share/jupyter/labextensions/jupyterlab_makefile_file_type_extension/static/style.js +4 -0
  9. jupyterlab_makefile_file_type_extension-1.0.4.data/data/share/jupyter/labextensions/jupyterlab_makefile_file_type_extension/static/third-party-licenses.json +16 -0
  10. jupyterlab_makefile_file_type_extension-1.0.4.dist-info/METADATA +178 -0
  11. jupyterlab_makefile_file_type_extension-1.0.4.dist-info/RECORD +13 -0
  12. jupyterlab_makefile_file_type_extension-1.0.4.dist-info/WHEEL +4 -0
  13. jupyterlab_makefile_file_type_extension-1.0.4.dist-info/licenses/LICENSE +29 -0
@@ -0,0 +1,16 @@
1
+ try:
2
+ from ._version import __version__
3
+ except ImportError:
4
+ # Fallback when using the package in dev mode without installing
5
+ # in editable mode with pip. It is highly recommended to install
6
+ # the package from a stable release or in editable mode: https://pip.pypa.io/en/stable/topics/local-project-installs/#editable-installs
7
+ import warnings
8
+ warnings.warn("Importing 'jupyterlab_makefile_file_type_extension' outside a proper installation.")
9
+ __version__ = "dev"
10
+
11
+
12
+ def _jupyter_labextension_paths():
13
+ return [{
14
+ "src": "labextension",
15
+ "dest": "jupyterlab_makefile_file_type_extension"
16
+ }]
@@ -0,0 +1,4 @@
1
+ # This file is auto-generated by Hatchling. As such, do not:
2
+ # - modify
3
+ # - track in version control e.g. be sure to add to .gitignore
4
+ __version__ = VERSION = '1.0.4'
@@ -0,0 +1,5 @@
1
+ {
2
+ "packageManager": "python",
3
+ "packageName": "jupyterlab_makefile_file_type_extension",
4
+ "uninstallInstructions": "Use your Python package manager (pip, conda, etc.) to uninstall the package jupyterlab_makefile_file_type_extension"
5
+ }
@@ -0,0 +1,205 @@
1
+ {
2
+ "name": "jupyterlab_makefile_file_type_extension",
3
+ "version": "1.0.4",
4
+ "description": "Jupyterlab extension to add handling of Makefiles and syntax colouring support",
5
+ "keywords": [
6
+ "jupyter",
7
+ "jupyterlab",
8
+ "jupyterlab-extension"
9
+ ],
10
+ "homepage": "https://github.com/stellarshenson/jupyterlab_makefile_file_type_extension",
11
+ "bugs": {
12
+ "url": "https://github.com/stellarshenson/jupyterlab_makefile_file_type_extension/issues"
13
+ },
14
+ "license": "BSD-3-Clause",
15
+ "author": {
16
+ "name": "Stellars Henson",
17
+ "email": "konrad.jelen@gmail.com"
18
+ },
19
+ "files": [
20
+ "lib/**/*.{d.ts,eot,gif,html,jpg,js,js.map,json,png,svg,woff2,ttf}",
21
+ "style/**/*.{css,js,eot,gif,html,jpg,json,png,svg,woff2,ttf}",
22
+ "src/**/*.{ts,tsx}"
23
+ ],
24
+ "main": "lib/index.js",
25
+ "types": "lib/index.d.ts",
26
+ "style": "style/index.css",
27
+ "repository": {
28
+ "type": "git",
29
+ "url": "https://github.com/stellarshenson/jupyterlab_makefile_file_type_extension.git"
30
+ },
31
+ "scripts": {
32
+ "build": "jlpm build:lib && jlpm build:labextension:dev",
33
+ "build:prod": "jlpm clean && jlpm build:lib:prod && jlpm build:labextension",
34
+ "build:labextension": "jupyter labextension build .",
35
+ "build:labextension:dev": "jupyter labextension build --development True .",
36
+ "build:lib": "tsc --sourceMap",
37
+ "build:lib:prod": "tsc",
38
+ "clean": "jlpm clean:lib",
39
+ "clean:lib": "rimraf lib tsconfig.tsbuildinfo",
40
+ "clean:lintcache": "rimraf .eslintcache .stylelintcache",
41
+ "clean:labextension": "rimraf jupyterlab_makefile_file_type_extension/labextension jupyterlab_makefile_file_type_extension/_version.py",
42
+ "clean:all": "jlpm clean:lib && jlpm clean:labextension && jlpm clean:lintcache",
43
+ "eslint": "jlpm eslint:check --fix",
44
+ "eslint:check": "eslint . --cache --ext .ts,.tsx",
45
+ "install:extension": "jlpm build",
46
+ "lint": "jlpm stylelint && jlpm prettier && jlpm eslint",
47
+ "lint:check": "jlpm stylelint:check && jlpm prettier:check && jlpm eslint:check",
48
+ "prettier": "jlpm prettier:base --write --list-different",
49
+ "prettier:base": "prettier \"**/*{.ts,.tsx,.js,.jsx,.css,.json,.md}\"",
50
+ "prettier:check": "jlpm prettier:base --check",
51
+ "stylelint": "jlpm stylelint:check --fix",
52
+ "stylelint:check": "stylelint --cache \"style/**/*.css\"",
53
+ "test": "jest --coverage",
54
+ "watch": "run-p watch:src watch:labextension",
55
+ "watch:src": "tsc -w --sourceMap",
56
+ "watch:labextension": "jupyter labextension watch ."
57
+ },
58
+ "dependencies": {
59
+ "@codemirror/language": "^6.0.0",
60
+ "@codemirror/legacy-modes": "^6.0.0",
61
+ "@jupyterlab/application": "^4.0.0",
62
+ "@jupyterlab/codemirror": "^4.0.0",
63
+ "@jupyterlab/docregistry": "^4.0.0",
64
+ "@jupyterlab/fileeditor": "^4.0.0",
65
+ "@jupyterlab/ui-components": "^4.0.0"
66
+ },
67
+ "devDependencies": {
68
+ "@jupyterlab/builder": "^4.0.0",
69
+ "@jupyterlab/testutils": "^4.0.0",
70
+ "@types/jest": "^29.2.0",
71
+ "@types/json-schema": "^7.0.11",
72
+ "@types/react": "^18.0.26",
73
+ "@types/react-addons-linked-state-mixin": "^0.14.22",
74
+ "@typescript-eslint/eslint-plugin": "^6.1.0",
75
+ "@typescript-eslint/parser": "^6.1.0",
76
+ "css-loader": "^6.7.1",
77
+ "eslint": "^8.36.0",
78
+ "eslint-config-prettier": "^8.8.0",
79
+ "eslint-plugin-prettier": "^5.0.0",
80
+ "jest": "^29.2.0",
81
+ "npm-run-all2": "^7.0.1",
82
+ "prettier": "^3.0.0",
83
+ "rimraf": "^5.0.1",
84
+ "source-map-loader": "^1.0.2",
85
+ "style-loader": "^3.3.1",
86
+ "stylelint": "^15.10.1",
87
+ "stylelint-config-recommended": "^13.0.0",
88
+ "stylelint-config-standard": "^34.0.0",
89
+ "stylelint-csstree-validator": "^3.0.0",
90
+ "stylelint-prettier": "^4.0.0",
91
+ "typescript": "~5.8.0",
92
+ "yjs": "^13.5.0"
93
+ },
94
+ "sideEffects": [
95
+ "style/*.css",
96
+ "style/index.js"
97
+ ],
98
+ "styleModule": "style/index.js",
99
+ "publishConfig": {
100
+ "access": "public"
101
+ },
102
+ "jupyterlab": {
103
+ "extension": true,
104
+ "outputDir": "jupyterlab_makefile_file_type_extension/labextension",
105
+ "_build": {
106
+ "load": "static/remoteEntry.dfb0bf6d00b00d642270.js",
107
+ "extension": "./extension",
108
+ "style": "./style"
109
+ }
110
+ },
111
+ "eslintIgnore": [
112
+ "node_modules",
113
+ "dist",
114
+ "coverage",
115
+ "**/*.d.ts",
116
+ "tests",
117
+ "**/__tests__",
118
+ "ui-tests"
119
+ ],
120
+ "eslintConfig": {
121
+ "extends": [
122
+ "eslint:recommended",
123
+ "plugin:@typescript-eslint/eslint-recommended",
124
+ "plugin:@typescript-eslint/recommended",
125
+ "plugin:prettier/recommended"
126
+ ],
127
+ "parser": "@typescript-eslint/parser",
128
+ "parserOptions": {
129
+ "project": "tsconfig.json",
130
+ "sourceType": "module"
131
+ },
132
+ "plugins": [
133
+ "@typescript-eslint"
134
+ ],
135
+ "rules": {
136
+ "@typescript-eslint/naming-convention": [
137
+ "error",
138
+ {
139
+ "selector": "interface",
140
+ "format": [
141
+ "PascalCase"
142
+ ],
143
+ "custom": {
144
+ "regex": "^I[A-Z]",
145
+ "match": true
146
+ }
147
+ }
148
+ ],
149
+ "@typescript-eslint/no-unused-vars": [
150
+ "warn",
151
+ {
152
+ "args": "none"
153
+ }
154
+ ],
155
+ "@typescript-eslint/no-explicit-any": "off",
156
+ "@typescript-eslint/no-namespace": "off",
157
+ "@typescript-eslint/no-use-before-define": "off",
158
+ "@typescript-eslint/quotes": [
159
+ "error",
160
+ "single",
161
+ {
162
+ "avoidEscape": true,
163
+ "allowTemplateLiterals": false
164
+ }
165
+ ],
166
+ "curly": [
167
+ "error",
168
+ "all"
169
+ ],
170
+ "eqeqeq": "error",
171
+ "prefer-arrow-callback": "error"
172
+ }
173
+ },
174
+ "prettier": {
175
+ "singleQuote": true,
176
+ "trailingComma": "none",
177
+ "arrowParens": "avoid",
178
+ "endOfLine": "auto",
179
+ "overrides": [
180
+ {
181
+ "files": "package.json",
182
+ "options": {
183
+ "tabWidth": 4
184
+ }
185
+ }
186
+ ]
187
+ },
188
+ "stylelint": {
189
+ "extends": [
190
+ "stylelint-config-recommended",
191
+ "stylelint-config-standard",
192
+ "stylelint-prettier/recommended"
193
+ ],
194
+ "plugins": [
195
+ "stylelint-csstree-validator"
196
+ ],
197
+ "rules": {
198
+ "csstree/validator": true,
199
+ "property-no-vendor-prefix": null,
200
+ "selector-class-pattern": "^([a-z][A-z\\d]*)(-[A-z\\d]+)*$",
201
+ "selector-no-vendor-prefix": null,
202
+ "value-no-vendor-prefix": null
203
+ }
204
+ }
205
+ }
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkjupyterlab_makefile_file_type_extension=self.webpackChunkjupyterlab_makefile_file_type_extension||[]).push([[575],{575:(e,a,t)=>{t.r(a),t.d(a,{default:()=>f,makefileIcon:()=>c});var i=t(337),n=t(694),l=t(84);const o=/\$[\({][A-Za-z0-9_]+[\)}]/,s=/\$\{[A-Za-z0-9_]+\}/,m=/\$\([A-Za-z0-9_]+\)/,r={name:"makefile",startState:()=>({inRecipe:!1,inComment:!1}),token:(e,a)=>{const t=e.peek();if("\\"===t){const a=e.pos;if(e.next(),e.eol())return"keyword.control escape";e.pos=a}if("#"===t)return e.skipToEnd(),"comment";if('"'===t||"'"===t){const a=e.next();for(;!e.eol();){const t=e.next();if(t===a)break;"\\"===t&&e.next()}return"string"}return e.sol()&&"\t"===t?(a.inRecipe=!0,e.next(),"meta"):(e.sol()&&"\t"!==t&&(a.inRecipe=!1),a.inRecipe?"$"===t?(e.match(o)||e.next(),"variableName"):e.match(/^(if|then|else|fi|for|in|do|done|case|esac|while|until)\b/)||e.match(/^(echo|cd|mkdir|rm|cp|mv|grep|sed|awk|make)\b/)?"keyword":(e.next(),null):(e.sol()||e.match(/^\s*/))&&e.match(/^[A-Z_][A-Z0-9_]*\s*[:?+]?=/,!1)&&e.match(/^[A-Z_][A-Z0-9_]*/)?(e.match(/\s*[:?+]?=/),"variableName.definition strong"):(e.sol()||e.match(/^\s*/)&&e.sol())&&e.match(/^[a-zA-Z0-9_-]+(?=\s*:)/)?"keyword.control strong":e.match(/^\.[A-Z_]+/)?"keyword.control":"$"===t?e.match(/\$\(shell\b/)||e.match(/\$\(wildcard\b|\$\(patsubst\b|\$\(filter\b|\$\(subst\b|\$\(foreach\b/)?"keyword":e.match(s)?"variableName.special":e.match(m)?"variableName strong":e.match(/\$[@<^+?*%|]/)?"variableName.special":(e.next(),"variableName"):e.match(/[:=]/)||e.match(/[?+:]=/)?"operator":(e.next(),null))}},c=new n.LabIcon({name:"makefile:icon",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <text x="12" y="18" font-size="20" font-weight="900" text-anchor="middle" fill="#d84a4a" font-family="Arial, sans-serif">M</text>\n</svg>'}),f={id:"jupyterlab_makefile_file_type_extension:plugin",description:"Jupyterlab extension to add handling of Makefiles and syntax colouring support",autoStart:!0,requires:[i.IEditorLanguageRegistry],activate:(e,a)=>{console.log("JupyterLab extension jupyterlab_makefile_file_type_extension is activated!"),a.addLanguage({name:"makefile",displayName:"Makefile",mime:"text/x-makefile",extensions:[".mk"],filename:/^(Makefile|makefile|GNUmakefile)$/,support:new l.LanguageSupport(l.StreamLanguage.define(r))}),e.docRegistry.addFileType({name:"makefile",displayName:"Makefile",mimeTypes:["text/x-makefile"],extensions:[".mk"],pattern:"^(Makefile|makefile|GNUmakefile)$",fileFormat:"text",icon:c},["text/x-makefile"])}}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkjupyterlab_makefile_file_type_extension=self.webpackChunkjupyterlab_makefile_file_type_extension||[]).push([[728],{56:(e,t,n)=>{e.exports=function(e){var t=n.nc;t&&e.setAttribute("nonce",t)}},72:e=>{var t=[];function n(e){for(var n=-1,r=0;r<t.length;r++)if(t[r].identifier===e){n=r;break}return n}function r(e,r){for(var a={},i=[],s=0;s<e.length;s++){var c=e[s],u=r.base?c[0]+r.base:c[0],l=a[u]||0,p="".concat(u," ").concat(l);a[u]=l+1;var f=n(p),d={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==f)t[f].references++,t[f].updater(d);else{var v=o(d,r);r.byIndex=s,t.splice(s,0,{identifier:p,updater:v,references:1})}i.push(p)}return i}function o(e,t){var n=t.domAPI(t);return n.update(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,o){var a=r(e=e||[],o=o||{});return function(e){e=e||[];for(var i=0;i<a.length;i++){var s=n(a[i]);t[s].references--}for(var c=r(e,o),u=0;u<a.length;u++){var l=n(a[u]);0===t[l].references&&(t[l].updater(),t.splice(l,1))}a=c}}},113:e=>{e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},314:e=>{e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var n="",r=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n}).join("")},t.i=function(e,n,r,o,a){"string"==typeof e&&(e=[[null,e,void 0]]);var i={};if(r)for(var s=0;s<this.length;s++){var c=this[s][0];null!=c&&(i[c]=!0)}for(var u=0;u<e.length;u++){var l=[].concat(e[u]);r&&i[l[0]]||(void 0!==a&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=a),n&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=n):l[2]=n),o&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=o):l[4]="".concat(o)),t.push(l))}},t}},475:(e,t,n)=>{n.d(t,{A:()=>s});var r=n(601),o=n.n(r),a=n(314),i=n.n(a)()(o());i.push([e.id,"/*\n See the JupyterLab Developer Guide for useful CSS Patterns:\n\n https://jupyterlab.readthedocs.io/en/stable/developer/css.html\n*/\n",""]);const s=i},540:e=>{e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},601:e=>{e.exports=function(e){return e[1]}},659:e=>{var t={};e.exports=function(e,n){var r=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(n)}},728:(e,t,n)=>{var r=n(72),o=n.n(r),a=n(825),i=n.n(a),s=n(659),c=n.n(s),u=n(56),l=n.n(u),p=n(540),f=n.n(p),d=n(113),v=n.n(d),h=n(475),m={};m.styleTagTransform=v(),m.setAttributes=l(),m.insert=c().bind(null,"head"),m.domAPI=i(),m.insertStyleElement=f(),o()(h.A,m),h.A&&h.A.locals&&h.A.locals},825:e=>{e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=e.insertStyleElement(e);return{update:function(n){!function(e,t,n){var r="";n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var o=void 0!==n.layer;o&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,o&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}");var a=n.sourceMap;a&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(a))))," */")),t.styleTagTransform(r,e,t.options)}(t,e,n)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}}}]);
@@ -0,0 +1 @@
1
+ var _JUPYTERLAB;(()=>{"use strict";var e,r,t,n,o,a,i,l,u,f,s,p,d,c,h,v,m,g,b,y={513:(e,r,t)=>{var n={"./index":()=>t.e(575).then(()=>()=>t(575)),"./extension":()=>t.e(575).then(()=>()=>t(575)),"./style":()=>t.e(728).then(()=>()=>t(728))},o=(e,r)=>(t.R=r,r=t.o(n,e)?n[e]():Promise.resolve().then(()=>{throw new Error('Module "'+e+'" does not exist in container.')}),t.R=void 0,r),a=(e,r)=>{if(t.S){var n="default",o=t.S[n];if(o&&o!==e)throw new Error("Container initialization failed as it has already been initialized with a different share scope");return t.S[n]=e,t.I(n,r)}};t.d(r,{get:()=>o,init:()=>a})}},_={};function w(e){var r=_[e];if(void 0!==r)return r.exports;var t=_[e]={id:e,exports:{}};return y[e](t,t.exports,w),t.exports}w.m=y,w.c=_,w.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return w.d(r,{a:r}),r},w.d=(e,r)=>{for(var t in r)w.o(r,t)&&!w.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},w.f={},w.e=e=>Promise.all(Object.keys(w.f).reduce((r,t)=>(w.f[t](e,r),r),[])),w.u=e=>e+"."+{575:"f4493e75c54f17e3b4a5",728:"1918bf9a0180bf411ce7"}[e]+".js?v="+{575:"f4493e75c54f17e3b4a5",728:"1918bf9a0180bf411ce7"}[e],w.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),w.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),e={},r="jupyterlab_makefile_file_type_extension:",w.l=(t,n,o,a)=>{if(e[t])e[t].push(n);else{var i,l;if(void 0!==o)for(var u=document.getElementsByTagName("script"),f=0;f<u.length;f++){var s=u[f];if(s.getAttribute("src")==t||s.getAttribute("data-webpack")==r+o){i=s;break}}i||(l=!0,(i=document.createElement("script")).charset="utf-8",w.nc&&i.setAttribute("nonce",w.nc),i.setAttribute("data-webpack",r+o),i.src=t),e[t]=[n];var p=(r,n)=>{i.onerror=i.onload=null,clearTimeout(d);var o=e[t];if(delete e[t],i.parentNode&&i.parentNode.removeChild(i),o&&o.forEach(e=>e(n)),r)return r(n)},d=setTimeout(p.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=p.bind(null,i.onerror),i.onload=p.bind(null,i.onload),l&&document.head.appendChild(i)}},w.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{w.S={};var e={},r={};w.I=(t,n)=>{n||(n=[]);var o=r[t];if(o||(o=r[t]={}),!(n.indexOf(o)>=0)){if(n.push(o),e[t])return e[t];w.o(w.S,t)||(w.S[t]={});var a=w.S[t],i="jupyterlab_makefile_file_type_extension",l=[];return"default"===t&&((e,r,t,n)=>{var o=a[e]=a[e]||{},l=o[r];(!l||!l.loaded&&(1!=!l.eager?n:i>l.from))&&(o[r]={get:()=>w.e(575).then(()=>()=>w(575)),from:i,eager:!1})})("jupyterlab_makefile_file_type_extension","1.0.4"),e[t]=l.length?Promise.all(l).then(()=>e[t]=1):1}}})(),(()=>{var e;w.g.importScripts&&(e=w.g.location+"");var r=w.g.document;if(!e&&r&&(r.currentScript&&"SCRIPT"===r.currentScript.tagName.toUpperCase()&&(e=r.currentScript.src),!e)){var t=r.getElementsByTagName("script");if(t.length)for(var n=t.length-1;n>-1&&(!e||!/^http(s?):/.test(e));)e=t[n--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),w.p=e})(),t=e=>{var r=e=>e.split(".").map(e=>+e==e?+e:e),t=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(e),n=t[1]?r(t[1]):[];return t[2]&&(n.length++,n.push.apply(n,r(t[2]))),t[3]&&(n.push([]),n.push.apply(n,r(t[3]))),n},n=(e,r)=>{e=t(e),r=t(r);for(var n=0;;){if(n>=e.length)return n<r.length&&"u"!=(typeof r[n])[0];var o=e[n],a=(typeof o)[0];if(n>=r.length)return"u"==a;var i=r[n],l=(typeof i)[0];if(a!=l)return"o"==a&&"n"==l||"s"==l||"u"==a;if("o"!=a&&"u"!=a&&o!=i)return o<i;n++}},o=e=>{var r=e[0],t="";if(1===e.length)return"*";if(r+.5){t+=0==r?">=":-1==r?"<":1==r?"^":2==r?"~":r>0?"=":"!=";for(var n=1,a=1;a<e.length;a++)n--,t+="u"==(typeof(l=e[a]))[0]?"-":(n>0?".":"")+(n=2,l);return t}var i=[];for(a=1;a<e.length;a++){var l=e[a];i.push(0===l?"not("+u()+")":1===l?"("+u()+" || "+u()+")":2===l?i.pop()+" "+i.pop():o(l))}return u();function u(){return i.pop().replace(/^\((.+)\)$/,"$1")}},a=(e,r)=>{if(0 in e){r=t(r);var n=e[0],o=n<0;o&&(n=-n-1);for(var i=0,l=1,u=!0;;l++,i++){var f,s,p=l<e.length?(typeof e[l])[0]:"";if(i>=r.length||"o"==(s=(typeof(f=r[i]))[0]))return!u||("u"==p?l>n&&!o:""==p!=o);if("u"==s){if(!u||"u"!=p)return!1}else if(u)if(p==s)if(l<=n){if(f!=e[l])return!1}else{if(o?f>e[l]:f<e[l])return!1;f!=e[l]&&(u=!1)}else if("s"!=p&&"n"!=p){if(o||l<=n)return!1;u=!1,l--}else{if(l<=n||s<p!=o)return!1;u=!1}else"s"!=p&&"n"!=p&&(u=!1,l--)}}var d=[],c=d.pop.bind(d);for(i=1;i<e.length;i++){var h=e[i];d.push(1==h?c()|c():2==h?c()&c():h?a(h,r):!c())}return!!c()},i=(e,r)=>e&&w.o(e,r),l=e=>(e.loaded=1,e.get()),u=e=>Object.keys(e).reduce((r,t)=>(e[t].eager&&(r[t]=e[t]),r),{}),f=(e,r,t)=>{var o=t?u(e[r]):e[r];return Object.keys(o).reduce((e,r)=>!e||!o[e].loaded&&n(e,r)?r:e,0)},s=(e,r,t,n)=>"Unsatisfied version "+t+" from "+(t&&e[r][t].from)+" of shared singleton module "+r+" (required "+o(n)+")",p=e=>{throw new Error(e)},d=e=>{"undefined"!=typeof console&&console.warn&&console.warn(e)},c=(e,r,t)=>t?t():((e,r)=>p("Shared module "+r+" doesn't exist in shared scope "+e))(e,r),h=(e=>function(r,t,n,o,a){var i=w.I(r);return i&&i.then&&!n?i.then(e.bind(e,r,w.S[r],t,!1,o,a)):e(r,w.S[r],t,n,o,a)})((e,r,t,n,o,u)=>{if(!i(r,t))return c(e,t,u);var p=f(r,t,n);return a(o,p)||d(s(r,t,p,o)),l(r[t][p])}),v={},m={84:()=>h("default","@codemirror/language",!1,[1,6,0,0]),337:()=>h("default","@jupyterlab/codemirror",!1,[1,4,4,10]),694:()=>h("default","@jupyterlab/ui-components",!1,[1,4,4,10])},g={575:[84,337,694]},b={},w.f.consumes=(e,r)=>{w.o(g,e)&&g[e].forEach(e=>{if(w.o(v,e))return r.push(v[e]);if(!b[e]){var t=r=>{v[e]=0,w.m[e]=t=>{delete w.c[e],t.exports=r()}};b[e]=!0;var n=r=>{delete v[e],w.m[e]=t=>{throw delete w.c[e],r}};try{var o=m[e]();o.then?r.push(v[e]=o.then(t).catch(n)):t(o)}catch(e){n(e)}}})},(()=>{var e={960:0};w.f.j=(r,t)=>{var n=w.o(e,r)?e[r]:void 0;if(0!==n)if(n)t.push(n[2]);else{var o=new Promise((t,o)=>n=e[r]=[t,o]);t.push(n[2]=o);var a=w.p+w.u(r),i=new Error;w.l(a,t=>{if(w.o(e,r)&&(0!==(n=e[r])&&(e[r]=void 0),n)){var o=t&&("load"===t.type?"missing":t.type),a=t&&t.target&&t.target.src;i.message="Loading chunk "+r+" failed.\n("+o+": "+a+")",i.name="ChunkLoadError",i.type=o,i.request=a,n[1](i)}},"chunk-"+r,r)}};var r=(r,t)=>{var n,o,[a,i,l]=t,u=0;if(a.some(r=>0!==e[r])){for(n in i)w.o(i,n)&&(w.m[n]=i[n]);l&&l(w)}for(r&&r(t);u<a.length;u++)o=a[u],w.o(e,o)&&e[o]&&e[o][0](),e[o]=0},t=self.webpackChunkjupyterlab_makefile_file_type_extension=self.webpackChunkjupyterlab_makefile_file_type_extension||[];t.forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t))})(),w.nc=void 0;var S=w(513);(_JUPYTERLAB=void 0===_JUPYTERLAB?{}:_JUPYTERLAB).jupyterlab_makefile_file_type_extension=S})();
@@ -0,0 +1,4 @@
1
+ /* This is a generated file of CSS imports */
2
+ /* It was generated by @jupyterlab/builder in Build.ensureAssets() */
3
+
4
+ import 'jupyterlab_makefile_file_type_extension/style/index.js';
@@ -0,0 +1,16 @@
1
+ {
2
+ "packages": [
3
+ {
4
+ "name": "css-loader",
5
+ "versionInfo": "6.11.0",
6
+ "licenseId": "MIT",
7
+ "extractedText": "Copyright JS Foundation and other contributors\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n'Software'), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n"
8
+ },
9
+ {
10
+ "name": "style-loader",
11
+ "versionInfo": "3.3.4",
12
+ "licenseId": "MIT",
13
+ "extractedText": "Copyright JS Foundation and other contributors\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n'Software'), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n"
14
+ }
15
+ ]
16
+ }
@@ -0,0 +1,178 @@
1
+ Metadata-Version: 2.4
2
+ Name: jupyterlab_makefile_file_type_extension
3
+ Version: 1.0.4
4
+ Summary: Jupyterlab extension to add handling of Makefiles and syntax colouring support
5
+ Project-URL: Homepage, https://github.com/stellarshenson/jupyterlab_makefile_file_type_extension
6
+ Project-URL: Bug Tracker, https://github.com/stellarshenson/jupyterlab_makefile_file_type_extension/issues
7
+ Project-URL: Repository, https://github.com/stellarshenson/jupyterlab_makefile_file_type_extension.git
8
+ Author-email: Stellars Henson <konrad.jelen@gmail.com>
9
+ License: BSD 3-Clause License
10
+
11
+ Copyright (c) 2025, Stellars Henson
12
+ All rights reserved.
13
+
14
+ Redistribution and use in source and binary forms, with or without
15
+ modification, are permitted provided that the following conditions are met:
16
+
17
+ 1. Redistributions of source code must retain the above copyright notice, this
18
+ list of conditions and the following disclaimer.
19
+
20
+ 2. Redistributions in binary form must reproduce the above copyright notice,
21
+ this list of conditions and the following disclaimer in the documentation
22
+ and/or other materials provided with the distribution.
23
+
24
+ 3. Neither the name of the copyright holder nor the names of its
25
+ contributors may be used to endorse or promote products derived from
26
+ this software without specific prior written permission.
27
+
28
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
29
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
30
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
31
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
32
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
33
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
34
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
35
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
36
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
37
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
38
+ License-File: LICENSE
39
+ Keywords: jupyter,jupyterlab,jupyterlab-extension
40
+ Classifier: Framework :: Jupyter
41
+ Classifier: Framework :: Jupyter :: JupyterLab
42
+ Classifier: Framework :: Jupyter :: JupyterLab :: 4
43
+ Classifier: Framework :: Jupyter :: JupyterLab :: Extensions
44
+ Classifier: Framework :: Jupyter :: JupyterLab :: Extensions :: Prebuilt
45
+ Classifier: License :: OSI Approved :: BSD License
46
+ Classifier: Programming Language :: Python
47
+ Classifier: Programming Language :: Python :: 3
48
+ Classifier: Programming Language :: Python :: 3.9
49
+ Classifier: Programming Language :: Python :: 3.10
50
+ Classifier: Programming Language :: Python :: 3.11
51
+ Classifier: Programming Language :: Python :: 3.12
52
+ Classifier: Programming Language :: Python :: 3.13
53
+ Requires-Python: >=3.9
54
+ Description-Content-Type: text/markdown
55
+
56
+ # JupyterLab Makefile Extension
57
+
58
+ [![Github Actions Status](https://github.com/stellarshenson/jupyterlab_makefile_file_type_extension/actions/workflows/build.yml/badge.svg)](https://github.com/stellarshenson/jupyterlab_makefile_file_type_extension/actions/workflows/build.yml)
59
+ [![npm version](https://badge.fury.io/js/jupyterlab_makefile_file_type_extension.svg)](https://www.npmjs.com/package/jupyterlab_makefile_file_type_extension)
60
+ [![PyPI version](https://badge.fury.io/py/jupyterlab-makefile-file-type-extension.svg)](https://pypi.org/project/jupyterlab-makefile-file-type-extension/)
61
+
62
+ A JupyterLab extension providing comprehensive Makefile support with syntax highlighting and custom file type recognition.
63
+
64
+ ![Makefile Extension Screenshot](.resources/screenshot.png)
65
+
66
+ ## Features
67
+
68
+ This extension enhances the Makefile editing experience in JupyterLab with intelligent syntax highlighting and visual aids:
69
+
70
+ - **Custom syntax highlighter** - Purpose-built CodeMirror language mode for accurate Makefile token recognition
71
+ - **Target highlighting** - Build targets (`build:`, `install:`, etc.) displayed in bold with distinct keyword styling
72
+ - **Variable recognition** - Make-style `$(VAR)` and shell-style `${VAR}` variables colored differently for clarity
73
+ - **Automatic variables** - Special variables like `$@`, `$<`, `$^` highlighted distinctly
74
+ - **Function support** - Make functions (`$(shell ...)`, `$(wildcard ...)`, etc.) recognized as keywords
75
+ - **Line continuations** - Backslash line breaks (`\`) at end of lines highlighted prominently
76
+ - **String parsing** - Quoted strings in single and double quotes properly recognized throughout
77
+ - **Recipe detection** - Tab-indented command lines distinguished from regular Makefile content
78
+ - **Custom icon** - VS Code-style bold red "M" icon for easy Makefile identification in file browser
79
+ - **Pattern matching** - Recognizes `Makefile`, `makefile`, `GNUmakefile`, and `*.mk` files
80
+
81
+ ## Requirements
82
+
83
+ - JupyterLab >= 4.0.0
84
+
85
+ ## Install
86
+
87
+ To install the extension, execute:
88
+
89
+ ```bash
90
+ pip install jupyterlab_makefile_file_type_extension
91
+ ```
92
+
93
+ ## Uninstall
94
+
95
+ To remove the extension, execute:
96
+
97
+ ```bash
98
+ pip uninstall jupyterlab_makefile_file_type_extension
99
+ ```
100
+
101
+ ## Contributing
102
+
103
+ ### Development install
104
+
105
+ Note: You will need NodeJS to build the extension package.
106
+
107
+ The `jlpm` command is JupyterLab's pinned version of
108
+ [yarn](https://yarnpkg.com/) that is installed with JupyterLab. You may use
109
+ `yarn` or `npm` in lieu of `jlpm` below.
110
+
111
+ ```bash
112
+ # Clone the repo to your local environment
113
+ # Change directory to the jupyterlab_makefile_file_type_extension directory
114
+
115
+ # Set up a virtual environment and install package in development mode
116
+ python -m venv .venv
117
+ source .venv/bin/activate
118
+ pip install --editable "."
119
+
120
+ # Link your development version of the extension with JupyterLab
121
+ jupyter labextension develop . --overwrite
122
+
123
+ # Rebuild extension Typescript source after making changes
124
+ # IMPORTANT: Unlike the steps above which are performed only once, do this step
125
+ # every time you make a change.
126
+ jlpm build
127
+ ```
128
+
129
+ You can watch the source directory and run JupyterLab at the same time in different terminals to watch for changes in the extension's source and automatically rebuild the extension.
130
+
131
+ ```bash
132
+ # Watch the source directory in one terminal, automatically rebuilding when needed
133
+ jlpm watch
134
+ # Run JupyterLab in another terminal
135
+ jupyter lab
136
+ ```
137
+
138
+ With the watch command running, every saved change will immediately be built locally and available in your running JupyterLab. Refresh JupyterLab to load the change in your browser (you may need to wait several seconds for the extension to be rebuilt).
139
+
140
+ By default, the `jlpm build` command generates the source maps for this extension to make it easier to debug using the browser dev tools. To also generate source maps for the JupyterLab core extensions, you can run the following command:
141
+
142
+ ```bash
143
+ jupyter lab build --minimize=False
144
+ ```
145
+
146
+ ### Development uninstall
147
+
148
+ ```bash
149
+ pip uninstall jupyterlab_makefile_file_type_extension
150
+ ```
151
+
152
+ In development mode, you will also need to remove the symlink created by `jupyter labextension develop`
153
+ command. To find its location, you can run `jupyter labextension list` to figure out where the `labextensions`
154
+ folder is located. Then you can remove the symlink named `jupyterlab_makefile_file_type_extension` within that folder.
155
+
156
+ ### Testing the extension
157
+
158
+ #### Frontend tests
159
+
160
+ This extension is using [Jest](https://jestjs.io/) for JavaScript code testing.
161
+
162
+ To execute them, execute:
163
+
164
+ ```sh
165
+ jlpm
166
+ jlpm test
167
+ ```
168
+
169
+ #### Integration tests
170
+
171
+ This extension uses [Playwright](https://playwright.dev/docs/intro) for the integration tests (aka user level tests).
172
+ More precisely, the JupyterLab helper [Galata](https://github.com/jupyterlab/jupyterlab/tree/master/galata) is used to handle testing the extension in JupyterLab.
173
+
174
+ More information are provided within the [ui-tests](./ui-tests/README.md) README.
175
+
176
+ ### Packaging the extension
177
+
178
+ See [RELEASE](RELEASE.md)
@@ -0,0 +1,13 @@
1
+ jupyterlab_makefile_file_type_extension/__init__.py,sha256=9m4aVKkhbHYbx8UpQGUt5zfkEfs2lY0YeJr9cRFQSMc,636
2
+ jupyterlab_makefile_file_type_extension/_version.py,sha256=qawcJnswOsIZF1nf1JHHIiM0w4Y3souwUaofPBBUMhA,171
3
+ jupyterlab_makefile_file_type_extension-1.0.4.data/data/share/jupyter/labextensions/jupyterlab_makefile_file_type_extension/package.json,sha256=vpJqLb4g2TTeix8OoqW5ywZfYmB2Bhr_qjrYnFWHyOY,6221
4
+ jupyterlab_makefile_file_type_extension-1.0.4.data/data/share/jupyter/labextensions/jupyterlab_makefile_file_type_extension/static/575.f4493e75c54f17e3b4a5.js,sha256=9Ek-dcVPF-O0pcjgdqlW_LCPvAcZc7f9tXAOmeUgCqk,2558
5
+ jupyterlab_makefile_file_type_extension-1.0.4.data/data/share/jupyter/labextensions/jupyterlab_makefile_file_type_extension/static/728.1918bf9a0180bf411ce7.js,sha256=GRi_mgGAv0Ec5zJHi9G6oT4CO-mJ88UpP5QpYk3T2tA,4047
6
+ jupyterlab_makefile_file_type_extension-1.0.4.data/data/share/jupyter/labextensions/jupyterlab_makefile_file_type_extension/static/remoteEntry.dfb0bf6d00b00d642270.js,sha256=37C_bQCwDWQicAwjtcTQGt3QS7MEfimwsZ-7ytzxPgE,6843
7
+ jupyterlab_makefile_file_type_extension-1.0.4.data/data/share/jupyter/labextensions/jupyterlab_makefile_file_type_extension/static/style.js,sha256=9q-LAJWHPp6F73Md-ANp23Kk_Faa1UTS6gNi8b1017A,182
8
+ jupyterlab_makefile_file_type_extension-1.0.4.data/data/share/jupyter/labextensions/jupyterlab_makefile_file_type_extension/static/third-party-licenses.json,sha256=W6N2sSD7tQihMqQk64F9xMd1Flfr2KO97esAiHUOYdM,2453
9
+ jupyterlab_makefile_file_type_extension-1.0.4.data/data/share/jupyter/labextensions/jupyterlab_makefile_file_type_extension/install.json,sha256=V8gzs8V_FlZyFzcHsEgtVFOiRs2tewDLBfahAA5Yu4M,239
10
+ jupyterlab_makefile_file_type_extension-1.0.4.dist-info/METADATA,sha256=34SDPWdUntUMcFR6zFT5HJluQ6GBwg8EWSuNijF328E,8073
11
+ jupyterlab_makefile_file_type_extension-1.0.4.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
12
+ jupyterlab_makefile_file_type_extension-1.0.4.dist-info/licenses/LICENSE,sha256=bf9y84AhgezpOZlGOXhFa1ZdyRsZhuPV-6IajkZgcho,1523
13
+ jupyterlab_makefile_file_type_extension-1.0.4.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: hatchling 1.27.0
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
@@ -0,0 +1,29 @@
1
+ BSD 3-Clause License
2
+
3
+ Copyright (c) 2025, Stellars Henson
4
+ All rights reserved.
5
+
6
+ Redistribution and use in source and binary forms, with or without
7
+ modification, are permitted provided that the following conditions are met:
8
+
9
+ 1. Redistributions of source code must retain the above copyright notice, this
10
+ list of conditions and the following disclaimer.
11
+
12
+ 2. Redistributions in binary form must reproduce the above copyright notice,
13
+ this list of conditions and the following disclaimer in the documentation
14
+ and/or other materials provided with the distribution.
15
+
16
+ 3. Neither the name of the copyright holder nor the names of its
17
+ contributors may be used to endorse or promote products derived from
18
+ this software without specific prior written permission.
19
+
20
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
21
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
23
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
24
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
26
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
27
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
28
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.