changeset 2392:bf7b5c344de1

make pydeps for an import graph
author drewp@bigasterisk.com
date Tue, 14 May 2024 14:39:46 -0700
parents f3b8dfcf8463
children e61eb9bb36d3
files makefile src/light9/all_deps.py
diffstat 2 files changed, 15 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/makefile	Tue May 14 14:38:49 2024 -0700
+++ b/makefile	Tue May 14 14:39:46 2024 -0700
@@ -67,6 +67,11 @@
 pull_github:
 	hg pull git+ssh://git@github.com/drewp/light9.git
 
+pydeps:
+	echo make sure src/light9/all_deps.py depends on all toplevel tools
+	pdm run pydeps --only=light9 --reverse --rankdir=BT --max-bacon=0 -o=work/2024/pydeps_output.svg --no-show -T=svg src/light9/all_deps.py
+	echo wrote https://bigasterisk.com/light9/work/2024/pydeps_output.svg
+	
 ### show ###
 
 qlc_artnet_dmx_proxy:
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/light9/all_deps.py	Tue May 14 14:39:46 2024 -0700
@@ -0,0 +1,10 @@
+# depends on the modules used in bin/
+
+from light9 import showconfig
+from light9.ascoltami.playlist import Playlist
+import light9.homepage.write_config
+import light9.midifade.midifade
+import light9.ascoltami.main
+import light9.collector.service
+import light9.effect.sequencer.service
+import light9.rdfdb.service