rq/setup.py

70 lines
2.3 KiB
Python
Raw Normal View History

"""
rq is a simple, lightweight, library for creating background jobs, and
processing them.
"""
2011-11-28 13:06:51 +00:00
import sys
import os
from setuptools import setup
def get_version():
basedir = os.path.dirname(__file__)
with open(os.path.join(basedir, 'rq/version.py')) as f:
VERSION = None
exec(f.read())
return VERSION
raise RuntimeError('No version info found.')
2011-11-28 13:06:51 +00:00
def get_dependencies():
deps = ['redis', 'procname', 'importlib', 'times']
2011-11-28 13:17:29 +00:00
deps += ['logbook'] # should be soft dependency?
2011-11-28 13:06:51 +00:00
if sys.version_info < (2, 7) or \
sys.version_info >= (3, 0) and sys.version_info < (3, 2):
deps += ['argparse']
return deps
setup(
name='rq',
version=get_version(),
url='https://github.com/nvie/rq/',
license='BSD',
author='Vincent Driessen',
author_email='vincent@3rdcloud.com',
2011-11-28 13:07:12 +00:00
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',
2011-11-28 13:06:51 +00:00
install_requires=get_dependencies(),
2011-11-18 00:44:28 +00:00
scripts=['bin/rqinfo', 'bin/rqworker'],
classifiers=[
# As from http://pypi.python.org/pypi?%3Aaction=list_classifiers
2011-11-28 11:09:36 +00:00
#'Development Status :: 1 - Planning',
2011-11-28 11:11:09 +00:00
#'Development Status :: 2 - Pre-Alpha',
'Development Status :: 3 - Alpha',
2011-11-28 11:09:36 +00:00
#'Development Status :: 4 - Beta',
#'Development Status :: 5 - Production/Stable',
#'Development Status :: 6 - Mature',
#'Development Status :: 7 - Inactive',
'Intended Audience :: Developers',
2011-11-28 11:09:36 +00:00
'Intended Audience :: End Users/Desktop',
'Intended Audience :: Information Technology',
'Intended Audience :: Science/Research',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: BSD License',
2011-11-28 11:09:36 +00:00
'Operating System :: POSIX',
'Operating System :: MacOS',
'Operating System :: Unix',
'Programming Language :: Python',
'Topic :: Software Development :: Libraries :: Python Modules'
2011-11-28 11:09:36 +00:00
'Topic :: Internet',
'Topic :: Scientific/Engineering',
'Topic :: System :: Distributed Computing',
'Topic :: System :: Systems Administration',
'Topic :: System :: Monitoring',
]
)