Upcoming maintenance: Thursday 21 August @ 12:00-14:00 CEST.

Skip to content
Snippets Groups Projects
Commit b4b9ecb9 authored by Carlos Natalino's avatar Carlos Natalino
Browse files

Including the dependencies of all components into the development dependencies.

parent 3cf0b0b1
No related branches found
No related tags found
1 merge request!54Release 2.0.0
...@@ -25,7 +25,7 @@ share/python-wheels/ ...@@ -25,7 +25,7 @@ share/python-wheels/
.installed.cfg .installed.cfg
*.egg *.egg
MANIFEST MANIFEST
requirements.txt # requirements.txt # removed to enable tracking versions of packages over time
# PyInstaller # PyInstaller
# Usually these files are written by a python script from a template # Usually these files are written by a python script from a template
......
#!/bin/bash #!/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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment