Skip to content
Snippets Groups Projects
Commit 07c96626 authored by Marko Mecina's avatar Marko Mecina
Browse files

update Makefiles and Python requirements

parent cabc5bb8
Branches
No related tags found
No related merge requests found
...@@ -12,7 +12,19 @@ install-confignator: ...@@ -12,7 +12,19 @@ install-confignator:
@echo "+---------------------------------------+" @echo "+---------------------------------------+"
@echo "| installing confignator Python package |" @echo "| installing confignator Python package |"
@echo "+---------------------------------------+" @echo "+---------------------------------------+"
$(MAKE) reinstall -C $(CURDIR)/Tst/confignator $(MAKE) build -C $(CURDIR)/Tst/confignator
pip install -U $(CURDIR)/Tst/confignator/dist/*.whl
@echo "+--------------------------------------+"
@echo "| installed confignator Python package |"
@echo "+--------------------------------------+"
@echo
install-confignator-userspace:
@echo "+---------------------------------------+"
@echo "| installing confignator Python package |"
@echo "+---------------------------------------+"
$(MAKE) build -C $(CURDIR)/Tst/confignator
pip install --user -U $(CURDIR)/Tst/confignator/dist/*.whl
@echo "+--------------------------------------+" @echo "+--------------------------------------+"
@echo "| installed confignator Python package |" @echo "| installed confignator Python package |"
@echo "+--------------------------------------+" @echo "+--------------------------------------+"
...@@ -42,7 +54,17 @@ install-python-env: ...@@ -42,7 +54,17 @@ install-python-env:
@echo "+-----------------------------+" @echo "+-----------------------------+"
@echo "| installing Python modules |" @echo "| installing Python modules |"
@echo "+-----------------------------+" @echo "+-----------------------------+"
python -m pip install --user --upgrade numpy scipy matplotlib cairocffi mysqlclient sqlalchemy wheel sphinx sphinx_rtd_theme astropy crcmod psutil python -m pip install --user --upgrade numpy scipy matplotlib cairocffi mysqlclient sqlalchemy wheel sphinx sphinx_rtd_theme astropy crcmod psutil
@echo "+-----------------------------+"
@echo "| installed Python modules |"
@echo "+-----------------------------+"
@echo
install-python-requirements:
@echo "+-----------------------------+"
@echo "| installing Python modules |"
@echo "+-----------------------------+"
pip install -U -r $(CURDIR)/requirements.txt
@echo "+-----------------------------+" @echo "+-----------------------------+"
@echo "| installed Python modules |" @echo "| installed Python modules |"
@echo "+-----------------------------+" @echo "+-----------------------------+"
......
...@@ -19,11 +19,11 @@ manjaro-xfce-21.0.5 linux5.10 ...@@ -19,11 +19,11 @@ manjaro-xfce-21.0.5 linux5.10
3) install packages/devtools 3) install packages/devtools
- gtksourceview3 [<=3.24.11-1] - gtksourceview3 [<=3.24.11-1]
- ipython [<=7.31] - ipython [<=7.*]
- python-pip - python-pip
- make - make
4) install python modules (to install the modules with pip in ~/.local, you can run 'make install-python-env' in the CCS base directory) 4) install python modules (to install the modules with pip in ~/.local, you can run 'make install-python-env' in the CCS base directory or use 'pip install [--user] -r requirements.txt')
- python-numpy - python-numpy
- python-scipy - python-scipy
- python-matplotlib - python-matplotlib
......
...@@ -17,7 +17,7 @@ clean: clean-build clean-doc-build ...@@ -17,7 +17,7 @@ clean: clean-build clean-doc-build
reinstall: clean uninstall build install reinstall: clean uninstall build install
build: build: clean
@echo "\e[1m=====================================\e[0m" @echo "\e[1m=====================================\e[0m"
@echo "\e[1m building confignator Python package \e[0m" @echo "\e[1m building confignator Python package \e[0m"
@echo "\e[1m=====================================\e[0m" @echo "\e[1m=====================================\e[0m"
......
# requirements for running CCS/TST
# markupsafe < 2.1.0
wheel
ipython >= 7, < 8
numpy
scipy
matplotlib
cairocffi
mysqlclient
sqlalchemy
sphinx
sphinx_rtd_theme
astropy
crcmod
psutil
# for TASTE, which also needs libdbus-1-dev, gir1.2-notify-0.7, libgirepository1.0-dev, libgtk-3-dev
# pygobject
# dbus-python
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment