|
|
|
@ -2,17 +2,18 @@
|
|
|
|
|
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__)
|
|
|
|
|
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.')
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|