Permalink
Browse files

Better default target

  • Loading branch information...
1 parent 6bdb5d3 commit 1b0e786c9953a2f4b019d8031fd8972fa3f84d8d David Fendrich committed May 30, 2012
Showing with 12 additions and 2 deletions.
  1. +3 −0 Makefile
  2. +9 −2 README.md
View
@@ -1,3 +1,6 @@
+build:
+ echo "Nothing to build. Only install."
+
install:
pip install -r requirements.txt
mkdir -p /var/lib/selfspy
View
@@ -7,9 +7,16 @@ See Example Statistics, below, for some of the fabulous things you can do with t
### Installing Selfspy
-Either clone the repository from Github (git clone git://github.com/gurgeh/selfspy), or click on the Download link on http://gurgeh.github.com/selfspy/ to get the Python source.
+If you run ArchLinux, here is an AUR package:
+https://aur.archlinux.org/packages.php?ID=58501
-Selfspy has a few dependencies on other Python libraries that need to be satisfied. These are documented in the requirements.txt file. If you have *pip* installed, installing the dependencies is a simple matter of running `pip install -r requirements.txt`. You will need subversion installed for pip to install python-xlib.
+I will have a PPA for Ubuntu up in the coming days (first part of June 2012).
+
+To install manually, either clone the repository from Github (git clone git://github.com/gurgeh/selfspy), or click on the Download link on http://gurgeh.github.com/selfspy/ to get the latest Python source.
+
+Selfspy is only tested with Python 2.7 and has a few dependencies on other Python libraries that need to be satisfied. These are documented in the requirements.txt file. If you have *pip* installed, installing the dependencies is a simple matter of running `pip install -r requirements.txt`. You will need subversion installed for pip to install python-xlib.
+
+There is also a simple Makefile. Run `make install` as root/sudo, to install the files in /var/lib/selfspy and also create the symlinks /usr/bin/selfspy and /usr/bin/selfstats.
### Running Selfspy
You run selfspy with `./selfspy.py`. You should probably start with `./selfspy.py --help` to get to know the command line arguments. As of this writing, it should look like this:

0 comments on commit 1b0e786

Please sign in to comment.