nix-community / nixpkgs-pytools

Tools for removing the tedious nature of creating nixpkgs derivations [maintainer=@costrouc]
MIT License
44 stars 9 forks source link

Inspect python code to determine dependencies #11

Closed costrouc closed 1 year ago

costrouc commented 5 years ago

Inspect via the python ast to determine test dependencies, setup dependencies (build), and propagatedBuildDependencies.

This would not be fool proof but would provide a much better list of packages being used.

makefu commented 1 year ago

test dependencies are currently included as comments, it seems nix-init (https://github.com/nix-community/nix-init) currently handles the situation better. be sure to check out this project as well