mirror of
https://github.com/ansible/awx.git
synced 2026-04-04 17:55:06 -02:30
Update some of the dev requirements stuff
This commit is contained in:
4
Makefile
4
Makefile
@@ -110,7 +110,7 @@ push:
|
|||||||
# locally downloaded packages).
|
# locally downloaded packages).
|
||||||
requirements:
|
requirements:
|
||||||
@if [ "$(VIRTUAL_ENV)" ]; then \
|
@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 Django-1.6.7.tar.gz); \
|
||||||
(cd requirements && pip install --no-index -r dev_local.txt); \
|
(cd requirements && pip install --no-index -r dev_local.txt); \
|
||||||
$(PYTHON) fix_virtualenv_setuptools.py; \
|
$(PYTHON) fix_virtualenv_setuptools.py; \
|
||||||
@@ -122,7 +122,7 @@ requirements:
|
|||||||
# (downloading from PyPI if necessary).
|
# (downloading from PyPI if necessary).
|
||||||
requirements_pypi:
|
requirements_pypi:
|
||||||
@if [ "$(VIRTUAL_ENV)" ]; then \
|
@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 Django\>=1.6.7,\<1.7; \
|
||||||
pip install -r requirements/dev.txt; \
|
pip install -r requirements/dev.txt; \
|
||||||
$(PYTHON) fix_virtualenv_setuptools.py; \
|
$(PYTHON) fix_virtualenv_setuptools.py; \
|
||||||
|
|||||||
@@ -122,7 +122,9 @@ def notification_handler(server):
|
|||||||
'type': 'event',
|
'type': 'event',
|
||||||
}
|
}
|
||||||
for session_id, socket in list(server.sockets.iteritems()):
|
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:
|
if session_id in valid_sockets:
|
||||||
|
print("Sending to session: %s" % str(session_id))
|
||||||
socket.send_packet(packet)
|
socket.send_packet(packet)
|
||||||
|
|
||||||
class Command(NoArgsCommand):
|
class Command(NoArgsCommand):
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
# packages). Install using "pip --no-index -r dev_local.txt".
|
# packages). Install using "pip --no-index -r dev_local.txt".
|
||||||
|
|
||||||
# May need to install these packages separately the first time:
|
# 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
|
distribute-0.7.3.zip
|
||||||
Django-1.6.7.tar.gz
|
Django-1.6.7.tar.gz
|
||||||
|
|
||||||
|
|||||||
BIN
requirements/setuptools-12.0.5.tar.gz
Normal file
BIN
requirements/setuptools-12.0.5.tar.gz
Normal file
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user