Browse Source

Don't include Python demos on the ramdisk by default

K. Lange 1 year ago
parent
commit
cf199f04ec

+ 1 - 0
.gitignore

@@ -27,6 +27,7 @@
 /base/usr/python
 /base/usr/bin/*
 /base/usr/lib/*
+/base/usr/share/python-demos
 
 # Generic
 /base/usr/share/aclocal

+ 5 - 0
util/fix-python.sh

@@ -42,7 +42,12 @@ pushd $HDD_PATH/usr
 		ln -s ../python/lib/libpython3.6m.so
 
 	popd
+
 popd
 
 echo "Installing readline hook..."
 cp util/readline._py $HDD_PATH/usr/python/lib/python3.6/
+
+echo "Installing demos..."
+mkdir -p base/usr/share/python-demos
+cp util/python-demos/*.py base/usr/share/python-demos/

base/usr/share/python-demos/about_applet.py → util/python-demos/about_applet.py


base/usr/share/python-demos/button.py → util/python-demos/button.py


base/usr/share/python-demos/calculator.py → util/python-demos/calculator.py


base/usr/share/python-demos/clock.py → util/python-demos/clock.py


base/usr/share/python-demos/dialog.py → util/python-demos/dialog.py


base/usr/share/python-demos/file_browser.py → util/python-demos/file_browser.py


base/usr/share/python-demos/fswait.py → util/python-demos/fswait.py


base/usr/share/python-demos/icon_cache.py → util/python-demos/icon_cache.py


base/usr/share/python-demos/input_box.py → util/python-demos/input_box.py


base/usr/share/python-demos/menu_bar.py → util/python-demos/menu_bar.py


base/usr/share/python-demos/mines.py → util/python-demos/mines.py


base/usr/share/python-demos/panel.py → util/python-demos/panel.py


base/usr/share/python-demos/progress-bar.py → util/python-demos/progress-bar.py


base/usr/share/python-demos/text_region.py → util/python-demos/text_region.py


base/usr/share/python-demos/toaru_fonts.py → util/python-demos/toaru_fonts.py


base/usr/share/python-demos/toaru_theme.py → util/python-demos/toaru_theme.py


base/usr/share/python-demos/weather_tool.py → util/python-demos/weather_tool.py


base/usr/share/python-demos/yutani.py → util/python-demos/yutani.py


base/usr/share/python-demos/yutani_mainloop.py → util/python-demos/yutani_mainloop.py