Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
mwakaba2 opened this issue Oct 7, 2021 · 0 comments
Open

Comments

@mwakaba2
Copy link
Owner

mwakaba2 commented Oct 7, 2021

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"]),
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant