django-nginx-memcache icon indicating copy to clipboard operation
django-nginx-memcache copied to clipboard

setup.py:10 issue - can't get the version

Open stevejalim opened this issue 13 years ago • 1 comments

setup.py: 10: version = import('nginx_memcache').get_version()

results in

File "nginx_memcache/init.py", line 6, in get_version if VERSION[2]: IndexError: tuple index out of range Complete output from command python setup.py egg_info: Traceback (most recent call last):

File "", line 14, in

File "/home/primarysite/.virtualenvs/primarysite/src/django-nginx-memcache/setup.py", line 10, in

version = __import__('nginx_memcache').get_version()

File "nginx_memcache/init.py", line 6, in get_version

if VERSION[2]:

IndexError: tuple index out of range

Is there a separate package that needs installing first? Looks a bit like this current code is expecting a previous version of the code to already be installed?

stevejalim avatar Jan 13 '12 12:01 stevejalim

Actually, just patching this on my fork now - will submit a pull request

stevejalim avatar Jan 13 '12 12:01 stevejalim