jupyterlab-notifications icon indicating copy to clipboard operation
jupyterlab-notifications copied to clipboard

[Maintenance] Replace deprecated "create_cmdclass" function in setup.py

Open mwakaba2 opened this issue 3 years ago • 0 comments

Task Update deprecated function in setup.py.

How to reproduce the error

$ jlpm run install:extension
yarn run v1.21.1
$ jupyter labextension develop --overwrite .
setup.py:39: DeprecatedWarning: create_cmdclass is deprecated as of 0.8 and will be removed in 1.0. "
Use `wrap_installers` to handle prebuild steps in cmdclass.
Use `get_data_files` to handle data files.
Use `include_package_data=True` and `MANIFEST.in` for package data.

  cmdclass = create_cmdclass("jsdeps",
setup.py:45: DeprecatedWarning: install_npm is deprecated as of 0.8 and will be removed in 1.0. Use `npm_builder` and `wrap_installers`
  install_npm(HERE, build_cmd="build:prod", npm=["jlpm"]),
...

mwakaba2 avatar Oct 07 '21 11:10 mwakaba2