Loading .gitignore +1 −1 Original line number Diff line number Diff line Loading @@ -25,7 +25,7 @@ share/python-wheels/ .installed.cfg *.egg MANIFEST requirements.txt # requirements.txt # removed to enable tracking versions of packages over time # PyInstaller # Usually these files are written by a python script from a template Loading install_development_dependencies.sh +22 −1 Original line number Diff line number Diff line #!/bin/bash pip install --upgrade pip setuptools wheel pip-tools pylint pytest pytest-benchmark coverage # installing basic tools pip install --upgrade pip setuptools wheel pip-tools pylint pytest pytest-benchmark coverage grpcio-tools # creating an empty file echo "" > requirements.in #TODO: include here your component COMPONENTS="compute context device monitoring" # compiling dependencies from all components for component in $COMPONENTS do echo "computing requirements for component $component" diff requirements.in src/$component/requirements.in | grep '^>' | sed 's/^>\ //' >> requirements.in done pip-compile --output-file=requirements.txt requirements.in python -m pip install -r requirements.txt # removing the temporary files rm requirements.in rm requirements.txt Loading
.gitignore +1 −1 Original line number Diff line number Diff line Loading @@ -25,7 +25,7 @@ share/python-wheels/ .installed.cfg *.egg MANIFEST requirements.txt # requirements.txt # removed to enable tracking versions of packages over time # PyInstaller # Usually these files are written by a python script from a template Loading
install_development_dependencies.sh +22 −1 Original line number Diff line number Diff line #!/bin/bash pip install --upgrade pip setuptools wheel pip-tools pylint pytest pytest-benchmark coverage # installing basic tools pip install --upgrade pip setuptools wheel pip-tools pylint pytest pytest-benchmark coverage grpcio-tools # creating an empty file echo "" > requirements.in #TODO: include here your component COMPONENTS="compute context device monitoring" # compiling dependencies from all components for component in $COMPONENTS do echo "computing requirements for component $component" diff requirements.in src/$component/requirements.in | grep '^>' | sed 's/^>\ //' >> requirements.in done pip-compile --output-file=requirements.txt requirements.in python -m pip install -r requirements.txt # removing the temporary files rm requirements.in rm requirements.txt