summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Driessen <vincent@3rdcloud.com>2012-02-22 10:52:39 +0100
committerVincent Driessen <vincent@3rdcloud.com>2012-02-22 10:52:39 +0100
commitf47398a7543c655719279510a757e760a0038966 (patch)
tree0f18764f2d903fcf8215de9cbc4c9ed08db1ccc0
parentfb587297f6cd3dfb6b38163469dcd25fecd95813 (diff)
downloadrq-f47398a7543c655719279510a757e760a0038966.tar.gz
Ditch false code size claim.
-rw-r--r--README.md10
-rwxr-xr-xcalcsize.sh31
2 files changed, 4 insertions, 37 deletions
diff --git a/README.md b/README.md
index a7123b6..c5263df 100644
--- a/README.md
+++ b/README.md
@@ -1,9 +1,7 @@
-RQ (_Redis Queue_) is a lightweight<sup>*</sup> Python library for queueing
-jobs and processing them in the background with workers. It is backed by Redis
-and it is extremely simple to use.
-
-<p style="font-size: 80%; text-align: right; font-style: italic">
-<sup>*</sup> It is under 20 kB in size and just over 500 lines of code.</p>
+RQ (_Redis Queue_) is a simple Python library for queueing jobs and processing
+them in the background with workers. It is backed by Redis and it is designed
+to have a low barrier to entry. It should easily be integrated in your web
+stack.
## Getting started
diff --git a/calcsize.sh b/calcsize.sh
deleted file mode 100755
index 33ab006..0000000
--- a/calcsize.sh
+++ /dev/null
@@ -1,31 +0,0 @@
-#!/bin/sh
-#
-# Rougly calculates the size of the (non-whitespace, non-comment) code
-# This is a convenience script to make sure our "lightweight" statement on the
-# project home page will still hold ;)
-#
-# Copyright (c) 2011 Vincent Driessen, @nvie
-#
-
-find_source_files() {
- find . -name '*.py' | egrep -v '(dummy|examples|setup|tests)'
-}
-
-dump_source_files() {
- find_source_files | xargs cat
-}
-
-filter_out_comments_and_whitespace() {
- grep -v '^\s*#' | grep -v '^\s*$' | grep -v '"""'
-}
-
-code_size() {
- dump_source_files | filter_out_comments_and_whitespace | wc -c
-}
-
-code_locs() {
- dump_source_files | filter_out_comments_and_whitespace | wc -l
-}
-
-echo "Size: $(code_size) kB"
-echo "Lines of code: $(code_locs)"