|
|
|
@ -2,18 +2,19 @@
|
|
|
|
|
rq is a simple, lightweight, library for creating background jobs, and
|
|
|
|
|
processing them.
|
|
|
|
|
"""
|
|
|
|
|
import sys
|
|
|
|
|
import os
|
|
|
|
|
from setuptools import setup, find_packages
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def get_version():
|
|
|
|
|
basedir = os.path.dirname(__file__)
|
|
|
|
|
with open(os.path.join(basedir, 'rq/version.py')) as f:
|
|
|
|
|
locals = {}
|
|
|
|
|
exec(f.read(), locals)
|
|
|
|
|
return locals['VERSION']
|
|
|
|
|
raise RuntimeError('No version info found.')
|
|
|
|
|
try:
|
|
|
|
|
with open(os.path.join(basedir, 'rq/version.py')) as f:
|
|
|
|
|
locals = {}
|
|
|
|
|
exec(f.read(), locals)
|
|
|
|
|
return locals['VERSION']
|
|
|
|
|
except FileNotFoundError:
|
|
|
|
|
raise RuntimeError('No version info found.')
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
setup(
|
|
|
|
@ -47,13 +48,13 @@ setup(
|
|
|
|
|
},
|
|
|
|
|
classifiers=[
|
|
|
|
|
# As from http://pypi.python.org/pypi?%3Aaction=list_classifiers
|
|
|
|
|
#'Development Status :: 1 - Planning',
|
|
|
|
|
#'Development Status :: 2 - Pre-Alpha',
|
|
|
|
|
#'Development Status :: 3 - Alpha',
|
|
|
|
|
#'Development Status :: 4 - Beta',
|
|
|
|
|
# 'Development Status :: 1 - Planning',
|
|
|
|
|
# 'Development Status :: 2 - Pre-Alpha',
|
|
|
|
|
# 'Development Status :: 3 - Alpha',
|
|
|
|
|
# 'Development Status :: 4 - Beta',
|
|
|
|
|
'Development Status :: 5 - Production/Stable',
|
|
|
|
|
#'Development Status :: 6 - Mature',
|
|
|
|
|
#'Development Status :: 7 - Inactive',
|
|
|
|
|
# 'Development Status :: 6 - Mature',
|
|
|
|
|
# 'Development Status :: 7 - Inactive',
|
|
|
|
|
'Intended Audience :: Developers',
|
|
|
|
|
'Intended Audience :: End Users/Desktop',
|
|
|
|
|
'Intended Audience :: Information Technology',
|
|
|
|
|