Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

cleaner setup docs

  • Loading branch information...
commit 0b98dd125e7225145c73262f5d07907b47b1595c 1 parent 3ffbf2d
juser authored
Showing with 15 additions and 4 deletions.
  1. +10 −2 INSTALL
  2. +0 −1  requirements.txt
  3. +5 −1 set_ff_prefs.py
View
12 INSTALL
@@ -1,6 +1,11 @@
# Veyepar instalation notes
-sudo apt-get install gstreamer0.10-plugins-good gstreamer0.10-plugins-bad gocr imagemagick python-imaging python-virtualenv mercurial
+sudo apt-get install gstreamer0.10-plugins-good gstreamer0.10-plugins-bad gocr imagemagick python-imaging python-reportlab python-virtualenv mercurial subversion
+
+virtualenv veyepar
+cd veyepar
+. bin/activate
+
hg clone http://bitbucket.org/ianb/pip/
cd pip/
python setup.py install
@@ -9,9 +14,12 @@ cd ..
pip install -r requirements.txt
# fix broken dabo installer
mv dabo/locale/ ./lib/python2.5/site-packages/dabo
+mv dabo/locale/ ./lib/python2.6/site-packages/dabo
# grab some text files I don't want to check into the repo
-cd dj/scripts/static
+cd dj/scripts
+mkdir static
+cd static
wget -N http://0x80.org/wordlist/webster-dictionary.txt
ln -s webster-dictionary.txt dictionary.txt
View
1  requirements.txt
@@ -1,5 +1,4 @@
svn+http://code.djangoproject.com/svn/django/trunk/#egg=django
vobject
python-twitter
-reportlab
svn+http://svn.dabodev.com/dabo/trunk/#egg=dabo
View
6 set_ff_prefs.py
@@ -4,10 +4,14 @@
import ConfigParser
home_dir = os.path.expanduser('~')
+print "home dir:", home_dir
+
profiles_path= os.path.join(home_dir, ".mozilla","firefox","profiles.ini")
+print "profiles_path:", profiles_path
+
# read ini file
config = ConfigParser.RawConfigParser()
-config.read([profile_path])
+config.read([profiles_path])
profiles = [s for s in config.sections() if s !='General']
if len(profiles)>1:
print "more than one profile, you fix it."
Please sign in to comment.
Something went wrong with that request. Please try again.