mirror of
https://github.com/pyscript/pyscript.git
synced 2025-12-19 18:27:29 -05:00
eliminate py-env altogether (#775)
* examples use toml now * use 0.21.2 for now * change config in docs * fix pre-commit
This commit is contained in:
@@ -28,6 +28,19 @@
|
||||
}
|
||||
</style>
|
||||
|
||||
<py-config type="json">
|
||||
{
|
||||
"packages": [
|
||||
"numpy",
|
||||
"sympy"
|
||||
],
|
||||
"paths": [
|
||||
"./palettes.py",
|
||||
"./fractals.py"
|
||||
]
|
||||
}
|
||||
</py-config>
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<b>
|
||||
@@ -78,19 +91,6 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<py-config type="json">
|
||||
{
|
||||
"packages": [
|
||||
"numpy",
|
||||
"sympy"
|
||||
],
|
||||
"paths": [
|
||||
"./palettes.py",
|
||||
"./fractals.py"
|
||||
]
|
||||
}
|
||||
</py-config>
|
||||
|
||||
<py-script>
|
||||
from pyodide.ffi import to_js, create_proxy
|
||||
|
||||
|
||||
Reference in New Issue
Block a user