Mercurial Hosting > traffic-intelligence
view Makefile @ 1137:e9c12982ed28
Merged in Wendlasida/trafficintelligence-1/Tertuis-Ou-draogo/movingpy-issue-22-from-etienne-beauchamp-1584900380975 (pull request #20)
moving.py [Issue #22 from Etienne Beauchamp In annotationTool Correction]
Approved-by: Tertuis Ouédraogo <tertuis95@gmail.com>
author | Nicolas Saunier <nicolas.saunier@polymtl.ca> |
---|---|
date | Sun, 22 Mar 2020 18:57:39 +0000 |
parents | 0d7e5e290ea3 |
children | 66f063ca2d24 |
line wrap: on
line source
INSTALL_DIR = /usr/local/bin PYTHON_LIB_DIR = cexe: @cd c && make feature-based-tracking doc: doxygen clean: @cd c && make clean @cd python && rm *.pyc installpython: @echo "=========================================" @echo "Installing Python modules and scripts" @tar cf /tmp/trafficintelligence.tar setup.py README trafficintelligence @gzip /tmp/trafficintelligence.tar @pip3 install /tmp/trafficintelligence.tar.gz @rm /tmp/trafficintelligence.tar.gz @cp scripts/* $(INSTALL_DIR) uploadpython: @python setup.py sdist bdist_wheel @twine upload dist/* --skip-existing #python setup.py sdist upload install: cexe installpython @echo "=========================================" @echo "Installing for Linux" @echo "=========================================" @echo "Installing feature-based tracking executable" @cp bin/feature-based-tracking /usr/local/bin uninstall: @echo "Uninstalling for Linux" rm $(INSTALL_DIR)/feature-based-tracking @cd scripts && ./uninstall-scripts.sh $(INSTALL_DIR)