From f21b2af2b6344a90085c224b19f2fc4e23e6acac Mon Sep 17 00:00:00 2001 From: Vincent Driessen Date: Mon, 14 Nov 2011 12:16:28 +0100 Subject: [PATCH] Make it an actual PyPI-managable Python package. --- __init__.py => rq/__init__.py | 0 daemon.py => rq/daemon.py | 0 queue.py => rq/queue.py | 0 worker.py => rq/worker.py | 0 setup.py | 32 ++++++++++++++++++++++++++++++++ 5 files changed, 32 insertions(+) rename __init__.py => rq/__init__.py (100%) rename daemon.py => rq/daemon.py (100%) rename queue.py => rq/queue.py (100%) rename worker.py => rq/worker.py (100%) create mode 100644 setup.py diff --git a/__init__.py b/rq/__init__.py similarity index 100% rename from __init__.py rename to rq/__init__.py diff --git a/daemon.py b/rq/daemon.py similarity index 100% rename from daemon.py rename to rq/daemon.py diff --git a/queue.py b/rq/queue.py similarity index 100% rename from queue.py rename to rq/queue.py diff --git a/worker.py b/rq/worker.py similarity index 100% rename from worker.py rename to rq/worker.py diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..3012b95 --- /dev/null +++ b/setup.py @@ -0,0 +1,32 @@ +""" +rq is a simple, lightweight, library for creating background jobs, and +processing them. +""" +from setuptools import Command, setup + +setup( + name='rq', + version='0.1-dev', + url='https://github.com/nvie/rq/', + license='BSD', + author='Vincent Driessen', + author_email='vincent@3rdcloud.com', + description='rq is a simple, lightweight, library for creating background ' + 'jobs, and processing them.', + long_description=__doc__, + packages=['rq'], + include_package_data=True, + zip_safe=False, + platforms='any', + install_requires=['redis', 'logbook', 'blinker'], + classifiers=[ + # As from http://pypi.python.org/pypi?%3Aaction=list_classifiers + 'Development Status :: 2 - Pre-Alpha', + 'Intended Audience :: Developers', + 'License :: OSI Approved :: BSD License', + 'Operating System :: OS Independent', + 'Programming Language :: Python', + 'Topic :: Software Development :: Libraries :: Python Modules' + ] +) +