From e0726e1f63742b728966ccae0c8b825ea0ba491a Mon Sep 17 00:00:00 2001 From: Million Integrals Date: Sun, 7 Apr 2019 18:21:36 -0700 Subject: [PATCH] Make publish the library to PyPI. --- Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Makefile b/Makefile index c58fe714..e26492f2 100644 --- a/Makefile +++ b/Makefile @@ -21,5 +21,13 @@ docker-shell-cuda: count-lines: cloc --exclude-dir=build,data,dist,local-scripts,vel.egg-info,output . +publish: + rm -rf ./dist/ + python setup.py sdist + twine upload dist/* + +serve-visdom: + python -m visdom.server + test: pytest . \ No newline at end of file