mirror of https://github.com/docker/compose.git
Split requirements-build.txt from requirements-dev.txt to support a leaner tox.ini
Signed-off-by: Daniel Nephin <dnephin@gmail.com>
This commit is contained in:
parent
8479108ee8
commit
6ac617bae1
|
@ -91,7 +91,7 @@ RUN pip install -r requirements-dev.txt
|
|||
RUN pip install tox==2.1.1
|
||||
|
||||
ADD . /code/
|
||||
RUN python setup.py install
|
||||
RUN pip install --no-deps -e /code
|
||||
|
||||
RUN chown -R user /code/
|
||||
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
git+https://github.com/pyinstaller/pyinstaller.git@12e40471c77f588ea5be352f7219c873ddaae056#egg=pyinstaller
|
|
@ -1,6 +1,5 @@
|
|||
coverage==3.7.1
|
||||
flake8==2.3.0
|
||||
git+https://github.com/pyinstaller/pyinstaller.git@12e40471c77f588ea5be352f7219c873ddaae056#egg=pyinstaller
|
||||
mock >= 1.0.1
|
||||
nose==1.3.4
|
||||
pep8==1.6.1
|
||||
|
|
|
@ -6,7 +6,6 @@ TAG="docker-compose"
|
|||
docker build -t "$TAG" .
|
||||
docker run \
|
||||
--rm \
|
||||
--user=user \
|
||||
--volume="$(pwd):/code" \
|
||||
--entrypoint="script/build-linux-inner" \
|
||||
"$TAG"
|
||||
|
|
|
@ -2,9 +2,12 @@
|
|||
|
||||
set -ex
|
||||
|
||||
TARGET=dist/docker-compose-Linux-x86_64
|
||||
|
||||
mkdir -p `pwd`/dist
|
||||
chmod 777 `pwd`/dist
|
||||
|
||||
pyinstaller -F bin/docker-compose
|
||||
mv dist/docker-compose dist/docker-compose-Linux-x86_64
|
||||
dist/docker-compose-Linux-x86_64 version
|
||||
pip install -r requirements-build.txt
|
||||
su -c "pyinstaller -F bin/docker-compose" user
|
||||
mv dist/docker-compose $TARGET
|
||||
$TARGET version
|
||||
|
|
|
@ -6,7 +6,7 @@ PATH="/usr/local/bin:$PATH"
|
|||
rm -rf venv
|
||||
virtualenv -p /usr/local/bin/python venv
|
||||
venv/bin/pip install -r requirements.txt
|
||||
venv/bin/pip install -r requirements-dev.txt
|
||||
venv/bin/pip install -r requirements-build.txt
|
||||
venv/bin/pip install .
|
||||
venv/bin/pyinstaller -F bin/docker-compose
|
||||
mv dist/docker-compose dist/docker-compose-Darwin-x86_64
|
||||
|
|
Loading…
Reference in New Issue