yupeng820921/elasticache_pyclient — pull request #1 by watchamcb (2013-11-14 16:36:55+00:00)
Title: Ignore errors on init to allow deployment to AWS Elastic Beanstalk

Example error log from trying to deploy on Elastic Beanstalk:

Requirement already satisfied (use --upgrade to upgrade): flask in /opt/python/run/venv/lib/python2.7/site-packages (from -r /opt/python/ondeck/app/requirements.txt (line 1))
Requirement already satisfied (use --upgrade to upgrade): boto in /opt/python/run/venv/lib/python2.7/site-packages (from -r /opt/python/ondeck/app/requirements.txt (line 2))
Downloading/unpacking python-memcached (from -r /opt/python/ondeck/app/requirements.txt (line 3))
Downloading python-memcached-1.53.tar.gz
Running setup.py egg_info for package python-memcached

warning: no files found matching '*.rst'
warning: no files found matching '*.txt'
warning: no files found matching 'MakeFile'
warning: no previously-included files matching '*.pyc' found anywhere in distribution
warning: no previously-included files matching '.gitignore' found anywhere in distribution
warning: no previously-included files matching '.DS_Store' found anywhere in distribution
Downloading/unpacking hash-ring (from -r /opt/python/ondeck/app/requirements.txt (line 4))
Downloading hash_ring-1.3.1.tar.gz
Running setup.py egg_info for package hash-ring

Downloading/unpacking elasticache-pyclient (from -r /opt/python/ondeck/app/requirements.txt (line 5))
Downloading elasticache_pyclient-1.0.tar.gz
Running setup.py egg_info for package elasticache-pyclient
Traceback (most recent call last):
File "", line 16, in
File "/opt/python/run/venv/build/elasticache-pyclient/setup.py", line 6, in
VERSION = __import__(PACKAGE).__version__
File "elasticache_pyclient/__init__.py", line 4, in
from memcache_client import MemcacheClient
File "elasticache_pyclient/memcache_client.py", line 10, in
import hash_ring
ImportError: No module named hash_ring
Complete output from command python setup.py egg_info:
Traceback (most recent call last):

File "", line 16, in

File "/opt/python/run/venv/build/elasticache-pyclient/setup.py", line 6, in

VERSION = __import__(PACKAGE).__version__

File "elasticache_pyclient/__init__.py", line 4, in

from memcache_client import MemcacheClient

File "elasticache_pyclient/memcache_client.py", line 10, in

import hash_ring

ImportError: No module named hash_ring