mirror of
https://github.com/ansible/awx.git
synced 2026-03-07 19:51:08 -03:30
Merge pull request #397 from chrismeyersfsu/fix-python_paths
fixes executing processes with correct PYTHONPATH will pickup .pth files
This commit is contained in:
10
Makefile
10
Makefile
@@ -167,15 +167,15 @@ requirements requirements_dev requirements_jenkins: %: real-%
|
|||||||
# * --target is only supported on newer versions of pip
|
# * --target is only supported on newer versions of pip
|
||||||
# * https://github.com/pypa/pip/issues/3056 - the workaround is to override the `install-platlib`
|
# * https://github.com/pypa/pip/issues/3056 - the workaround is to override the `install-platlib`
|
||||||
# * --user (in conjunction with PYTHONUSERBASE="awx" may be a better option
|
# * --user (in conjunction with PYTHONUSERBASE="awx" may be a better option
|
||||||
|
# * --target implies --ignore-installed
|
||||||
real-requirements:
|
real-requirements:
|
||||||
pip install -r requirements/requirements.txt --target awx/lib/site-packages/ --ignore-installed --install-option="--install-platlib=\$$base/lib/python"
|
pip install -r requirements/requirements.txt --target awx/lib/site-packages/ --install-option="--install-platlib=\$$base/lib/python"
|
||||||
|
|
||||||
real-requirements_dev: real-requirements
|
real-requirements_dev:
|
||||||
# (cat requirements/requirements.txt requirements/requirements_dev.txt > /tmp/req_dev.txt);
|
pip install -r requirements/requirements_dev.txt --target awx/lib/site-packages/ --install-option="--install-platlib=\$$base/lib/python"
|
||||||
pip install -r requirements/requirements_dev.txt --target awx/lib/site-packages/ --ignore-installed
|
|
||||||
|
|
||||||
# Install third-party requirements needed for running unittests in jenkins
|
# Install third-party requirements needed for running unittests in jenkins
|
||||||
real-requirements_jenkins: real-requirements
|
real-requirements_jenkins:
|
||||||
pip install -r requirements/requirements_jenkins.txt
|
pip install -r requirements/requirements_jenkins.txt
|
||||||
npm install csslint jshint
|
npm install csslint jshint
|
||||||
|
|
||||||
|
|||||||
@@ -35,6 +35,7 @@ git+https://github.com/chrismeyersfsu/gevent-socketio.git@tower_0.3.6#egg=socket
|
|||||||
git+https://github.com/chrismeyersfsu/python-ipy.git@master#egg=ipy
|
git+https://github.com/chrismeyersfsu/python-ipy.git@master#egg=ipy
|
||||||
git+https://github.com/chrismeyersfsu/python-keystoneclient.git@1.3.0#egg=keystoneclient-1.3.0
|
git+https://github.com/chrismeyersfsu/python-keystoneclient.git@1.3.0#egg=keystoneclient-1.3.0
|
||||||
git+https://github.com/chrismeyersfsu/shade.git@tower_0.5.0#egg=shade-tower_0.5.0
|
git+https://github.com/chrismeyersfsu/shade.git@tower_0.5.0#egg=shade-tower_0.5.0
|
||||||
|
git+https://github.com/chrismeyersfsu/sitecustomize.git#egg=sitecustomize
|
||||||
greenlet==0.4.7
|
greenlet==0.4.7
|
||||||
httplib2==0.9
|
httplib2==0.9
|
||||||
idna==2.0
|
idna==2.0
|
||||||
|
|||||||
@@ -1,2 +1,6 @@
|
|||||||
|
-r requirements.txt
|
||||||
django-devserver
|
django-devserver
|
||||||
django-debug-toolbar
|
django-debug-toolbar
|
||||||
|
unittest2
|
||||||
|
pep8
|
||||||
|
flake8
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
-r requirements.txt
|
||||||
ansible
|
ansible
|
||||||
django-jenkins
|
django-jenkins
|
||||||
coverage
|
coverage
|
||||||
|
|||||||
Reference in New Issue
Block a user