Skip to content

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

@mwakaba2

Description

@mwakaba2

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"]),
...

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions