Mercurial Hosting > traffic-intelligence
comparison Makefile @ 1167:f67b4f892195
minor pypi update
author | Nicolas Saunier <nicolas.saunier@polymtl.ca> |
---|---|
date | Mon, 21 Jun 2021 22:55:29 -0400 |
parents | 66f063ca2d24 |
children | 756bc885a573 |
comparison
equal
deleted
inserted
replaced
1166:7b4d732f82b3 | 1167:f67b4f892195 |
---|---|
7 doc: | 7 doc: |
8 doxygen | 8 doxygen |
9 | 9 |
10 clean: | 10 clean: |
11 @cd c && make clean | 11 @cd c && make clean |
12 @cd python && rm *.pyc | 12 @cd trafficintelligence && rm *.pyc |
13 | 13 |
14 installpython: | 14 installpython: |
15 @echo "=========================================" | 15 @echo "=========================================" |
16 @echo "Installing Python modules and scripts" | 16 @echo "Installing Python modules and scripts" |
17 @tar cf /tmp/trafficintelligence.tar setup.py README trafficintelligence | 17 @tar cf /tmp/trafficintelligence.tar setup.py README trafficintelligence |
18 @gzip /tmp/trafficintelligence.tar | 18 @gzip /tmp/trafficintelligence.tar |
19 @pip3 install /tmp/trafficintelligence.tar.gz | 19 @pip3 install /tmp/trafficintelligence.tar.gz |
20 @rm /tmp/trafficintelligence.tar.gz | 20 @rm /tmp/trafficintelligence.tar.gz |
21 @cp scripts/* $(INSTALL_DIR) | 21 @cp scripts/* $(INSTALL_DIR) |
22 uploadpython: | 22 uploadpython: |
23 @python setup.py sdist bdist_wheel | 23 @python setup.py sdist |
24 @twine upload dist/* --skip-existing | 24 @twine upload dist/* --skip-existing |
25 #python setup.py sdist upload | 25 #python setup.py sdist upload |
26 #python setup.py sdist bdist_wheel | |
26 | 27 |
27 install: cexe installpython | 28 install: cexe installpython |
28 @echo "=========================================" | 29 @echo "=========================================" |
29 @echo "Installing for Linux" | 30 @echo "Installing for Linux" |
30 @echo "=========================================" | 31 @echo "=========================================" |