Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: studentkittens/webarchive
base: d266d24942
...
head fork: studentkittens/webarchive
compare: acd48c23b1
Checking mergeability… Don't worry, you can still create the pull request.
  • 4 commits
  • 3 files changed
  • 0 commit comments
  • 1 contributor
View
25 doku/sphinx/source/intro.rst
@@ -14,12 +14,33 @@ Getting Started
Install the following modules from PyPI:
- ``filemagic`` - Determining MIME Type
-- ``docopt`` - Intelligent argument Parsing
-- ``beautifulsoup4`` - Title Extraction from HTML
+- ``docopt`` - Intelligent argument Parsing from Help Text
+
+You can do this via ``pip``, assuming you have Python 3.x installed:
+
+.. code-block:: bash
+
+ sudo pip install filemagic docopt
+
+
+The program will most likely not work for Python 2.x; make sure you have a newer series installed:
+
+.. code-block:: bash
+
+ python --version
Listen and Repeat
-----------------
+First, you have to install the backend:
+
+.. code-block:: bash
+
+ $ git clone git://github.com/studentkittens/webarchive.git
+ $ cd webarchive/src/python
+ $ sudo python setup.py install
+ $ # Done!
+
.. code-block:: bash
$ archive.py init /tmp # Create a new Archive-Root
View
2  src/python/archive.py
@@ -0,0 +1,2 @@
+#!/bin/sh
+env python -m archive --version
View
11 src/python/setup.py
@@ -1,6 +1,10 @@
from distutils.core import setup
+from shutil import copyfile
+import os
-setup(
+
+if __name__ == '__main__':
+ setup(
name = 'archive',
version = "1.0",
packages = ['archive',
@@ -17,3 +21,8 @@
author = "Christopher Pahl, Christoph Piechula",
author_email = "cpahl@hof-university.de, cpiechula@hof-university.de"
)
+
+ # This is a quick hack, as I couldn't find any nicer way
+ # Check if we are the root user
+ if os.getuid() != 0:
+ copyfile('archive.py', '/usr/bin/archive.py')

No commit comments for this range

Something went wrong with that request. Please try again.