WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: PyRoom Fetch and install script  (Read 3307 times)

Offline alu

  • Sr. Member
  • ****
  • Posts: 429
PyRoom Fetch and install script
« on: May 10, 2011, 09:30:11 AM »
here is a simple bash script for you to customize in order to fetch and install PyRoom (also as attached file):

#!/bin/bash
# Fetch PyRoom last tar.gz from the Internet onto your USB key/HDD drive (replace with your PATH)
cd /mnt/sda1/PackTC
# wget http://launchpad.net/pyroom/0.4/0.4.1/+download/pyroom-0.4.1.tar.gz
# Uncompress PyRoom
tar -xf pyroom-0.4.1.tar.gz
# Load dependencies (replace with your PATH)
tce-load -i /mnt/sda1/tce/optional/python.tcz
tce-load -i /mnt/sda1/tce/optional/pygtk-2.7.tcz
tce-load -i /mnt/sda1/tce/optional/pyxdg.tcz
tce-load -i /mnt/sda1/tce/optional/libglade.tcz
# Run PyRoom
cd /mnt/sda1/PackTC/pyroom-0.4.1/
python pyroom &

EDIT: added missing dependency (libglade.tcz)
« Last Edit: May 24, 2011, 03:37:03 AM by alu »

Offline Guy

  • Hero Member
  • *****
  • Posts: 1089
Re: PyRoom Fetch and install script
« Reply #1 on: May 10, 2011, 10:57:35 AM »
You can make it into an extension

http://wiki.tinycorelinux.net/wiki:extension_for_settings


You can then get dependencies to load by creating a .dep file, and listing them in it.

Keep a copy of your extension. If you update extensions, it may be removed.
« Last Edit: May 10, 2011, 11:10:26 AM by Guy »
Many people see what is. Some people see what can be, and make a difference.

Offline alu

  • Sr. Member
  • ****
  • Posts: 429
Re: PyRoom Fetch and install script
« Reply #2 on: May 10, 2011, 11:33:41 AM »
Quote
You can make it into an extension

it was my purpose not to make one, because i can use python apps from usb key such as portable applications which i find useful while working with low ram specs, and easy to update.

slightly off: i tried to do the same with wikidpad, but hit against wxpython -- difficult to build