|
|
@ -10,9 +10,9 @@ from setuptools import setup, find_packages
|
|
|
|
def get_version():
|
|
|
|
def get_version():
|
|
|
|
basedir = os.path.dirname(__file__)
|
|
|
|
basedir = os.path.dirname(__file__)
|
|
|
|
with open(os.path.join(basedir, 'rq/version.py')) as f:
|
|
|
|
with open(os.path.join(basedir, 'rq/version.py')) as f:
|
|
|
|
VERSION = None
|
|
|
|
locals = {}
|
|
|
|
exec(f.read())
|
|
|
|
exec(f.read(), locals)
|
|
|
|
return VERSION
|
|
|
|
return locals['VERSION']
|
|
|
|
raise RuntimeError('No version info found.')
|
|
|
|
raise RuntimeError('No version info found.')
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|