summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsand <daniel@spatof.org>2012-02-16 15:18:44 (GMT)
committer sand <daniel@spatof.org>2012-02-16 15:18:44 (GMT)
commitbdbedc8163de83b334122230fa7bc8eedd438591 (patch)
tree5b07191714dc69421bfd1cdda239b7729d2671e5
parent64b6d99d581230b687f4f55a1bf6383e5d22a069 (diff)
Updated setup.py for stopwords; added an INSTALL.txt
-rw-r--r--INSTALL.txt31
-rw-r--r--setup.py4
2 files changed, 34 insertions, 1 deletions
diff --git a/INSTALL.txt b/INSTALL.txt
new file mode 100644
index 0000000..b4a1d46
--- /dev/null
+++ b/INSTALL.txt
@@ -0,0 +1,31 @@
+# Installation
+
+## Requirements
+
+Python version 2.6 at least, sqlite lib, event lib and the following python
+packages: SQLAlchemy, gevent. For fancy text search you will also need to
+install Xapian libraries and python packages (which IIRC are not
+easy-installable...).
+
+Ideally you should safely run the usual `python setup.py install` and get the
+shit done, but first you must install all the C libraries with your distribution
+package tools.
+
+Debian/Ubuntu:
+
+- libsqlite3-0
+- libevent-1.4-2
+- libxapian22
+- python-xapian
+
+Python packages installation:
+
+ # easy_install SQLAlchemy gevent
+
+or
+
+ # pip install SQLAlchemy gevent
+
+or
+
+ # aptitude install tuasorella
diff --git a/setup.py b/setup.py
index 6f0e2f3..c734d68 100644
--- a/setup.py
+++ b/setup.py
@@ -15,7 +15,9 @@ setup(
zip_safe=False,
packages=find_packages(),
package_data={
- "pinolo": ['data/*.txt', 'data/prcd/*'],
+ "pinolo": ['data/*.txt', 'data/prcd/*',
+ 'plugins/*.txt'
+ ],
},
entry_points={
"console_scripts": [