Mercurial Hosting > traffic-intelligence
diff 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 |
line wrap: on
line diff
--- a/Makefile Wed Jun 20 16:48:20 2018 -0400 +++ b/Makefile Tue Jul 03 16:47:37 2018 -0400 @@ -14,11 +14,15 @@ installpython: @echo "=========================================" @echo "Installing Python modules and scripts" - @tar cf /tmp/trafficintelligence.tar setup.py trafficintelligence + @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 "========================================="