Commit d0ccac62 authored by VIGNET Pierre's avatar VIGNET Pierre
Browse files

Ability to install/uninstall packages for developers (make simlinks in the current env)

parent 02467e01
all: install unit_tests clean all: install unit_tests clean
clean: clean:
cd command_line && make clean
cd library && make clean cd library && make clean
cd command_line && make clean
cd gui && make clean cd gui && make clean
install: install:
cd command_line && make install
cd library && make install cd library && make install
cd command_line && make install
cd gui && make install cd gui && make install
uninstall: uninstall:
-cd command_line && make uninstall -cd command_line && make uninstall
-cd library && make uninstall
-cd gui && make uninstall -cd gui && make uninstall
-cd library && make uninstall
dev_install:
cd library && make dev_install
cd command_line && make dev_install
cd gui && make dev_install
dev_uninstall:
-cd library && make dev_uninstall
-cd command_line && make dev_uninstall
-cd gui && make dev_uninstall
unit_tests: unit_tests:
-cd command_line && make unit_tests -cd command_line && make unit_tests
......
...@@ -25,6 +25,14 @@ uninstall: files.txt ...@@ -25,6 +25,14 @@ uninstall: files.txt
cat files.txt | xargs rm -rf cat files.txt | xargs rm -rf
rm files.txt rm files.txt
dev_install:
@echo Install the package for developers...
python2.7 setup.py develop
dev_uninstall:
@echo Uninstalling the package for developers...
python2.7 setup.py develop --uninstall
unit_tests: unit_tests:
@echo Launch unit tests @echo Launch unit tests
python2.7 setup.py test python2.7 setup.py test
......
...@@ -25,6 +25,14 @@ uninstall: files.txt ...@@ -25,6 +25,14 @@ uninstall: files.txt
cat files.txt | xargs rm -rf cat files.txt | xargs rm -rf
rm files.txt rm files.txt
dev_install:
@echo Install the package for developers...
python2.7 setup.py develop
dev_uninstall:
@echo Uninstalling the package for developers...
python2.7 setup.py develop --uninstall
test_register: test_register:
python2.7 setup.py register -r https://testpypi.python.org/pypi python2.7 setup.py register -r https://testpypi.python.org/pypi
......
...@@ -26,6 +26,14 @@ uninstall: files.txt ...@@ -26,6 +26,14 @@ uninstall: files.txt
cat files.txt | xargs rm -rf cat files.txt | xargs rm -rf
rm files.txt rm files.txt
dev_install:
@echo Install the package for developers...
python2.7 setup.py develop
dev_uninstall:
@echo Uninstalling the package for developers...
python2.7 setup.py develop --uninstall
unit_tests: unit_tests:
@echo Launch unit tests @echo Launch unit tests
python2.7 setup.py test python2.7 setup.py test
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment