Update some of the dev requirements stuff

This commit is contained in:
Matthew Jones 2015-01-30 10:52:35 -05:00
parent a8516c4ede
commit bd542bc336
5 changed files with 5 additions and 3 deletions

View File

@ -110,7 +110,7 @@ push:
# locally downloaded packages).
requirements:
@if [ "$(VIRTUAL_ENV)" ]; then \
(cd requirements && pip install --no-index setuptools-2.2.tar.gz); \
(cd requirements && pip install --no-index setuptools-12.0.5.tar.gz); \
(cd requirements && pip install --no-index Django-1.6.7.tar.gz); \
(cd requirements && pip install --no-index -r dev_local.txt); \
$(PYTHON) fix_virtualenv_setuptools.py; \
@ -122,7 +122,7 @@ requirements:
# (downloading from PyPI if necessary).
requirements_pypi:
@if [ "$(VIRTUAL_ENV)" ]; then \
pip install setuptools==2.2; \
pip install setuptools==12.0.5; \
pip install Django\>=1.6.7,\<1.7; \
pip install -r requirements/dev.txt; \
$(PYTHON) fix_virtualenv_setuptools.py; \

View File

@ -122,7 +122,9 @@ def notification_handler(server):
'type': 'event',
}
for session_id, socket in list(server.sockets.iteritems()):
print("Going to emit an event, here are our sessions: %s" % valid_sockets)
if session_id in valid_sockets:
print("Sending to session: %s" % str(session_id))
socket.send_packet(packet)
class Command(NoArgsCommand):

View File

@ -2,7 +2,7 @@
# packages). Install using "pip --no-index -r dev_local.txt".
# May need to install these packages separately the first time:
setuptools-2.2.tar.gz
setuptools-12.0.5.tar.gz
distribute-0.7.3.zip
Django-1.6.7.tar.gz

Binary file not shown.

Binary file not shown.