Merge pull request #526 from Riverside-Healthcare/dev

This commit is contained in:
sur.la.route 2023-01-19 13:20:13 -06:00 committed by GitHub
commit 203e299007
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 7 deletions

View file

@ -11,8 +11,6 @@ mv cssbeautifier* cssbeautifier-99-py3-none-any.whl
mv EditorConfig* EditorConfig-99-py3-none-any.whl
mv html_tag_names* html_tag_names-99-py3-none-any.whl
mv html_void_elements* html_void_elements-99-py3-none-any.whl
mv importlib_metadata* importlib_metadata-99-py3-none-any.whl
mv jsbeautifier* jsbeautifier-99-py3-none-any.whl
mv pathspec* pathspec-99-py3-none-any.whl
mv PyYAML* PyYAML-99-py3-none-any.whl
mv zipp* zipp-99-py3-none-any.whl

View file

@ -19,17 +19,15 @@ async function loadPyodideAndPackages() {
`${origin}/static/py/EditorConfig-99-py3-none-any.whl`,
`${origin}/static/py/html_tag_names-99-py3-none-any.whl`,
`${origin}/static/py/html_void_elements-99-py3-none-any.whl`,
`${origin}/static/py/importlib_metadata-99-py3-none-any.whl`,
`${origin}/static/py/jsbeautifier-99-py3-none-any.whl`,
`${origin}/static/py/pathspec-99-py3-none-any.whl`,
`${origin}/static/py/PyYAML-99-py3-none-any.whl`,
`${origin}/static/py/zipp-99-py3-none-any.whl`,
]);
postMessage({
type: 'status',
message:
'Installing djlint, click, colorama, cssbeautifier, editorconfig, html_tag_names, html_void_elements, importlib_metadata, jsbeautifier, pathspec, pyyaml, zipp ..',
'Installing djlint, click, colorama, cssbeautifier, editorconfig, html_tag_names, html_void_elements, jsbeautifier, pathspec, pyyaml ..',
});
await self.pyodide.loadPackage('regex');
postMessage({ type: 'status', message: 'Installing regex..' });
@ -42,8 +40,7 @@ async function loadPyodideAndPackages() {
postMessage({
type: 'version',
message:
pyodide.runPython(`
message: pyodide.runPython(`
import platform
from importlib import metadata
f"running with Python {platform.python_version()}; djLint {metadata.version('djlint')}"