mirror of
https://github.com/ansible/awx.git
synced 2026-01-11 01:57:35 -03:30
Avoid system site packages and add more setup things
This commit is contained in:
parent
7873d08311
commit
3dc8c789fb
19
Makefile
19
Makefile
@ -136,12 +136,10 @@ virtualenv_ansible:
|
||||
mkdir $(VENV_BASE); \
|
||||
fi; \
|
||||
if [ ! -d "$(VENV_BASE)/ansible" ]; then \
|
||||
virtualenv -p python --system-site-packages $(VENV_BASE)/ansible && \
|
||||
$(VENV_BASE)/ansible/bin/pip install $(PIP_OPTIONS) six packaging appdirs && \
|
||||
$(VENV_BASE)/ansible/bin/pip install $(PIP_OPTIONS) setuptools==42.0.1 && \
|
||||
$(VENV_BASE)/ansible/bin/pip install $(PIP_OPTIONS) pip==19.3.1 && \
|
||||
$(VENV_BASE)/ansible/bin/pip install $(PIP_OPTIONS) wheel==0.33.6; \
|
||||
fi; \
|
||||
virtualenv -p python $(VENV_BASE)/ansible && \
|
||||
$(VENV_BASE)/ansible/bin/pip install $(PIP_OPTIONS) pip==19.3.1 setuptools==42.0.1 wheel==0.33.6 && \
|
||||
$(VENV_BASE)/ansible/bin/pip install $(PIP_OPTIONS) flit poetry twine; \ # undeclared setup_requires
|
||||
fi; \ # TODO: re-enable system site packages
|
||||
fi
|
||||
|
||||
virtualenv_ansible_py3:
|
||||
@ -150,11 +148,10 @@ virtualenv_ansible_py3:
|
||||
mkdir $(VENV_BASE); \
|
||||
fi; \
|
||||
if [ ! -d "$(VENV_BASE)/ansible" ]; then \
|
||||
$(PYTHON) -m venv --system-site-packages $(VENV_BASE)/ansible && \
|
||||
$(VENV_BASE)/ansible/bin/pip install $(PIP_OPTIONS) setuptools==42.0.1 && \
|
||||
$(VENV_BASE)/ansible/bin/pip install $(PIP_OPTIONS) pip==19.3.1 && \
|
||||
$(VENV_BASE)/ansible/bin/pip install $(PIP_OPTIONS) wheel==0.33.6; \
|
||||
fi; \
|
||||
$(PYTHON) -m venv $(VENV_BASE)/ansible && \
|
||||
$(VENV_BASE)/ansible/bin/pip install $(PIP_OPTIONS) pip==19.3.1 setuptools==42.0.1 wheel==0.33.6 && \
|
||||
$(VENV_BASE)/ansible/bin/pip install $(PIP_OPTIONS) flit poetry twine; \ # undeclared setup_requires
|
||||
fi; \ # TODO: re-enable system site packages
|
||||
fi
|
||||
|
||||
virtualenv_awx:
|
||||
|
||||
@ -7,3 +7,14 @@ virtualenv
|
||||
m2r
|
||||
twine # from python-daemon
|
||||
wheel==0.33.6
|
||||
cffi>=1.1
|
||||
wheel>=0.33.6
|
||||
backports.functools_lru_cache
|
||||
more-itertools==5.0.0
|
||||
poetry
|
||||
functools32<4.0.0,>=3.2.3; python_version >= "2.7" and python_version < "2.8"
|
||||
flit; python_version >= "3.5"
|
||||
twine; python_version >= "3.6"
|
||||
incremental>=16.10.1; python_version >= "3.6"
|
||||
lxml>=3.0; python_version >= "3.6"
|
||||
pkgconfig; python_version >= "3.6"
|
||||
Loading…
x
Reference in New Issue
Block a user