BVB Source Codes

rq Show setup.py Source code

Return Download rq: download setup.py Source code - Download rq Source code - Type:.py
  1. """
  2. rq is a simple, lightweight, library for creating background jobs, and
  3. processing them.
  4. """
  5. import sys
  6. import os
  7. from setuptools import setup, find_packages
  8.  
  9.  
  10. def get_version():
  11.     basedir = os.path.dirname(__file__)
  12.     with open(os.path.join(basedir, 'rq/version.py')) as f:
  13.         locals = {}
  14.         exec(f.read(), locals)
  15.         return locals['VERSION']
  16.     raise RuntimeError('No version info found.')
  17.  
  18.  
  19. def get_dependencies():
  20.     deps = ['redis >= 2.7.0', 'click >= 3.0']
  21.     if sys.version_info < (2, 7) or \
  22.             (sys.version_info >= (3, 0) and sys.version_info < (3, 1)):
  23.         deps += ['importlib']
  24.     if sys.version_info < (2, 7) or \
  25.             (sys.version_info >= (3, 0) and sys.version_info < (3, 2)):
  26.         deps += ['argparse']
  27.     return deps
  28.  
  29. setup(
  30.     name='rq',
  31.     version=get_version(),
  32.     url='https://github.com/nvie/rq/',
  33.     license='BSD',
  34.     author='Vincent Driessen',
  35.     author_email='vincent@3rdcloud.com',
  36.     description='RQ is a simple, lightweight, library for creating background '
  37.                 'jobs, and processing them.',
  38.     long_description=__doc__,
  39.     packages=find_packages(exclude=['tests']),
  40.     include_package_data=True,
  41.     zip_safe=False,
  42.     platforms='any',
  43.     install_requires=get_dependencies(),
  44.     entry_points={
  45.         'console_scripts': [
  46.             'rq = rq.cli:main',
  47.  
  48.             # NOTE: rqworker/rqinfo are kept for backward-compatibility,
  49.             # remove eventually (TODO)
  50.             'rqinfo = rq.cli:info',
  51.             'rqworker = rq.cli:worker',
  52.         ],
  53.     },
  54.     extras_require={
  55.         ':python_version=="2.6"': ['argparse', 'importlib'],
  56.     },
  57.     classifiers=[
  58.         # As from http://pypi.python.org/pypi?%3Aaction=list_classifiers
  59.         #'Development Status :: 1 - Planning',
  60.         #'Development Status :: 2 - Pre-Alpha',
  61.         #'Development Status :: 3 - Alpha',
  62.         #'Development Status :: 4 - Beta',
  63.         'Development Status :: 5 - Production/Stable',
  64.         #'Development Status :: 6 - Mature',
  65.         #'Development Status :: 7 - Inactive',
  66.         'Intended Audience :: Developers',
  67.         'Intended Audience :: End Users/Desktop',
  68.         'Intended Audience :: Information Technology',
  69.         'Intended Audience :: Science/Research',
  70.         'Intended Audience :: System Administrators',
  71.         'License :: OSI Approved :: BSD License',
  72.         'Operating System :: POSIX',
  73.         'Operating System :: MacOS',
  74.         'Operating System :: Unix',
  75.         'Programming Language :: Python',
  76.         'Programming Language :: Python :: 2',
  77.         'Programming Language :: Python :: 3',
  78.         'Topic :: Software Development :: Libraries :: Python Modules',
  79.         'Topic :: Internet',
  80.         'Topic :: Scientific/Engineering',
  81.         'Topic :: System :: Distributed Computing',
  82.         'Topic :: System :: Systems Administration',
  83.         'Topic :: System :: Monitoring',
  84.  
  85.     ]
  86. )
  87.  
downloadsetup.py Source code - Download rq Source code
Related Source Codes/Software:
amazon-dsstne - Deep Scalable Sparse Tensor Network Engine (DSSTNE... 2017-01-08
webpack-demos - a collection of simple demos of Webpack 2017-01-08
Squire - HTML5 rich text editor. Try the demo integration a... 2017-01-08
thor - Thor is a toolkit for building powerful command-li... 2017-01-08
glide - Package Management for Golang h... 2017-01-08
emmet-vim - emmet for vim: http://emmet.io/ ... 2017-01-08
prose - A Content Editor for GitHub. ht... 2017-01-08
sshrc - ring your .bashrc, .vimrc, etc. with you when you ... 2017-01-08
typed.js - A jQuery typing animation script. ... 2017-01-08
find - High-precision indoor positioning framework for mo... 2017-01-08
CRYENGINE - CRYENGINE is a powerful real-time game development... 2017-06-11
postal - 2017-06-11
reactide - Reactide is the first dedicated IDE for React web ... 2017-06-11
rkt - rkt is a pod-native container engine for Linux. It... 2017-06-11
uWebSockets - Tiny WebSockets https://for... 2017-06-11
realworld - TodoMVC for the RealWorld - Exemplary fullstack Me... 2017-06-11
goreplay - GoReplay is an open-source tool for capturing and ... 2017-06-10
pyenv - Simple Python version management 2017-06-10
redux-saga - An alternative side effect model for Redux apps ... 2017-06-10
angular-starter - 2017-06-10

 Back to top