Mercurial Hosting > traffic-intelligence
view Makefile @ 1161:b968c33f8c2f
work on producing figures and collision maps for large datasets with multiple sites
author | Nicolas Saunier <nicolas.saunier@polymtl.ca> |
---|---|
date | Thu, 04 Mar 2021 23:12:34 -0500 |
parents | 66f063ca2d24 |
children | f67b4f892195 |
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 $(INSTALL_DIR) uninstall: @echo "Uninstalling for Linux" rm $(INSTALL_DIR)/feature-based-tracking @cd scripts && ./uninstall-scripts.sh $(INSTALL_DIR)