38 Commits (0c5fe6251ef44d0b4a7c129a76e824e554bfb79b)

Author SHA1 Message Date
Selwin Ong efcdd15902 Update setup.py to ensure Python 2.6 dependencies are installed by pip. 10 years ago
zhangliyong 842f27294a Convert rqworker to 'rq worker' subcommand 10 years ago
Vincent Driessen b5fbc3992b Restructure new CLI modules.
A few things have changed.  First of all, there is no separate copy of
the argparse-based `rqinfo` anymore.  It now fully utilizes the new
Click subcommand.  In other words: `rqinfo` and `rq info` both invoke
the same function under the hood.

In order to support this, the main command group now does NOT take
a `url` option and initializes the connection.  Besides supporting this
alias pattern, this change was useful for two more reasons: (1) it
allows us to add subcommands that don't need the Redis server running in
the future, and (2) it makes the `--url` option an option underneath
each subcommand.  This avoids command invocations that look like this:

    $ rq --url <url> info --more --flags

And instead allows us to pass the URL to each subcommand where it's
deemed necessary:

    $ rq info --url <url> --more --flags

Which is much friendlier to use/remember.
10 years ago
zhangliyong c796e3249d Fix click dependency version 10 years ago
zhangliyong 551483b477 Add rq info command 10 years ago
zhangliyong e948bde5d7 Add rq command when installing 11 years ago
Vincent Driessen 6ee28fae9c Redis 2.7.0 is required for lua scripting support 11 years ago
Vincent Driessen 3649ff863b Don't rely on external package `first`. 11 years ago
Vincent Driessen 3667e37ed3 Don't expose the envvar values through `rqinfo -h`. 11 years ago
Vincent Driessen dbcba85815 Properly declare Python 3 compatibility. 11 years ago
Malthe Borch c5a381fbe9 Remove dependency on 'times' library (see issue #286).
Basically, for the functionality needed, a dependency on 'times' (which
in turn depends on 'python-dateutil') seem unnecessary.
11 years ago
Maxime Rouyrre a8b6596145 Exclude tests package from setup.py.
Pull request nvie/rq#192 solved the issue for `pip install rq` but not when
directly installing from a git repository as in
`pip install git+git://github.com/nvie/rq@master` that still creates a
possibly conflicting `tests` folder.
11 years ago
Alex Morega 998ff1a1ab fix reading of version in py3 12 years ago
Vincent Driessen c7e54d8c1a Promote to 'beta' stage.
This should've been done on 0.3.0 already, actually.
12 years ago
Vincent Driessen d1c2b3b78d Merge branch 'selwin-remove-logbook'
Conflicts:
	rq/utils.py
	rq/worker.py
	setup.cfg
	setup.py
12 years ago
Jon Parise e90efc254b Use `redis.from_url()` for greater compatibility.
This lets us keep the redis-py version requirement back at 2.4.13.
12 years ago
Jon Parise eb00f69ced Add a standard --url argument to all scripts.
redis-py now supports URL-based connection configuration.  When --url
is specified, we use it to construct the Redis object.  Otherwise, we
use the existing argument-based construction method.

`Redis.from_url()` is new in redis-py 2.6.2, so that prerequisite has
been adjusted accordingly.
12 years ago
Vincent Driessen 879a87d158 Remove logbook and replace it with logging.
This reverts commit 1ab8c19696 and
reintroduces all changes made by @dstufft.

Still, it needs more patches to reeanble the default log-to-console
behaviour.  See #121.
12 years ago
Vincent Driessen 1ab8c19696 Revert "Remove logbook and replace it with logging".
This reverts the commit range f367c38..978ba2d.

Issue #121 is currently blocking the 0.3.1 release.
12 years ago
Vincent Driessen 481369a88d Require at least redis-py version 2.4.
This fixes #106.
12 years ago
Donald Stufft f188d66354 Remove logbook from the install_requires and other dependency areas 13 years ago
Vincent Driessen 074d42fe54 Remove strict procname dependency.
This fixes #80.
13 years ago
Vincent Driessen 8aaa975fa9 Find all packages.
This fixes #67.
13 years ago
Wichert Akkerman 97d2e4d784 Use console_scripts instead of scripts.
Unfortunately zc.buildout does not support distribute/setuptools script
option (see https://bugs.launchpad.net/zc.buildout/+bug/422724), but it
does support console_scripts. This also makes the scripts importable,
allowing for unittest and code reuse.
13 years ago
Vincent Driessen 100d23b72e Tag the first public release. 13 years ago
Vincent Driessen a662180fd3 Make importlib dependency conditional on the Python version. 13 years ago
Vincent Driessen 15342f14d3 Store pickled function calls as strings.
This aids unpacking in the case of a function that isn't importable from
the worker's runtime. The unpickling will now (almost) always succeed,
and throw an ImportError later on, when the function is actually
accessed (thus imported implicitly).

The end result is a job on the failed queue, with exc_info describing
the import error, which is tremendously useful.
13 years ago
Vincent Driessen 65105b44c3 CHECKPOINT: Initial part of the big refactor. 13 years ago
Vincent Driessen 27ddde2008 Make procname a hard dependency. 13 years ago
Vincent Driessen da228dd76c Fix casing. 13 years ago
Vincent Driessen 2300338893 Update dependencies accordingly 13 years ago
Vincent Driessen c820ba24fa Move to Alpha stage. 13 years ago
Vincent Driessen 66775b7012 Put the version number somewhere central. 13 years ago
Vincent Driessen e49e0135bc Update Trove classifiers. 13 years ago
Vincent Driessen 7841e23cc4 Add procname dependency.
Eventually, this will be optional, but for now, include it as there
actually *is* a dependency.
13 years ago
Vincent Driessen 213ac73e19 Remove blinker dependency. 13 years ago
Vincent Driessen a905961f94 Add some sample scripts. 13 years ago
Vincent Driessen f21b2af2b6 Make it an actual PyPI-managable Python package. 13 years ago