Newbie question: Is there a tool that will scan a Python project & output a list of all dependencies & modules the project uses?
Asked
Active
Viewed 3,671 times
4
-
If you are using pip then you can just do `pip freeze` on the shell to print out pip packages installed. Otherwise look at the packages setup.py or requirements.txt – Greg Apr 28 '16 at 07:59
-
I'm using Pycharm. Is there a simple way to get Pycharm to generate a setup.py or requirements.txt file? – Emily Apr 28 '16 at 08:08
-
Are you using your own code or are you looking at someone elses? – Greg Apr 28 '16 at 08:13
-
It's my own code. There's 50+ scripts now in the project across several folders, and don't want to have to go through them 1 at at time. – Emily Apr 28 '16 at 08:34
1 Answers
2
Generate dependency graphs from Python code
Example : list python package dependencies without loading them?

Community
- 1
- 1

user2740652
- 361
- 3
- 12
-
1pip install snakewood v1.4 fails with syntax not compatible with python3. – rhoerbe Apr 11 '18 at 16:07