Added an extra step in build
@@ -15,6 +15,7 @@ build:
script:
- {{ PYTHON }} -c '__import__("os").unlink("pyproject.toml")'
- {{ PYTHON }} -m pip install . -vv
+ - {{ PYTHON }} -c "import pathlib; src = pathlib.Path('ts/lab-dist/jupyter-widget-datetime-{{ version }}.tgz'), pathlib.Path('''{{ PREFIX }}'''); dest = pathlib.Path('''{{ PREFIX }}''', '/share/jupyter/labextensions/js', src.name); dest.parent.mkdir(parents=True); src.rename(dest)"
requirements:
host:
