Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
stevejalim opened this issue Jan 13, 2012 · 1 comment
Open

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

stevejalim opened this issue Jan 13, 2012 · 1 comment

Comments

@stevejalim
Copy link

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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant