Mercurial Hosting > traffic-intelligence
comparison Makefile @ 1036:0d7e5e290ea3
upload to pypi
author | Nicolas Saunier <nicolas.saunier@polymtl.ca> |
---|---|
date | Tue, 03 Jul 2018 16:47:37 -0400 |
parents | cc5cb04b04b0 |
children | 66f063ca2d24 |
comparison
equal
deleted
inserted
replaced
1035:933588568bec | 1036:0d7e5e290ea3 |
---|---|
12 @cd python && rm *.pyc | 12 @cd python && 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 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: | |
23 @python setup.py sdist bdist_wheel | |
24 @twine upload dist/* --skip-existing | |
25 #python setup.py sdist upload | |
22 | 26 |
23 install: cexe installpython | 27 install: cexe installpython |
24 @echo "=========================================" | 28 @echo "=========================================" |
25 @echo "Installing for Linux" | 29 @echo "Installing for Linux" |
26 @echo "=========================================" | 30 @echo "=========================================" |