Given a PEP517 project, are there a commands that can extract build-time and run-time dependencies in a uniform way?
Same question for setup.py based projects.
Given a PEP517 project, are there a commands that can extract build-time and run-time dependencies in a uniform way?
Same question for setup.py based projects.
For runtime dependencies:
For built-time dependencies, I guess maybe this one:
AFAIK, for runtime dependencies the only way is to build the project and then read out the wheel file. Dependencies can be platform dependent and/or dynamically generated.
For build dependencies you just need to read one key - this is a short python script you could write. You could also use tomlq/tq: GitHub - cryptaliagy/tomlq: A tool for getting data from TOML files on the command line