jupyter-packaging
jupyter-packaging copied to clipboard
Add more declarative config
Ideally we shouldn't need a setup.py
file.
- We can use
from importlib_metadata import version; version('<name>')
anywhere where we're usingpython setup.py --version
, and we can get the name fromsetup.cfg
orpyproject.toml
if available, and fall back onpython setup.py --name
. - We can add
data_files
config using our better tuple and glob handling - We should also handle
ensured_targets
- Ideally we could replace all of
jupyterlab/setup.py