summaryrefslogtreecommitdiff
path: root/uitest/packaging/Makefile
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2017-06-08 00:28:35 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2017-06-08 00:30:53 +0200
commit8af868e2879282e85e32cabe824bc0990985fc81 (patch)
tree8c1b0724fc387053e716d5420f42785c1d4ad89b /uitest/packaging/Makefile
parent839fd8215b557a22282824a2ab42b37b48ffd0f9 (diff)
prepare publishing the libreoffice-connection python code
Change-Id: I730207465e185a0b942b5636cd7ba3bebe7856f5
Diffstat (limited to 'uitest/packaging/Makefile')
-rw-r--r--uitest/packaging/Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/uitest/packaging/Makefile b/uitest/packaging/Makefile
new file mode 100644
index 000000000000..af63c946e763
--- /dev/null
+++ b/uitest/packaging/Makefile
@@ -0,0 +1,16 @@
+all:
+ @echo "Packaging the libreoffice-connection code"
+ @mkdir -p libreoffice
+ @cp ../libreoffice/connection.py libreoffice/.
+ @touch libreoffice/__init__.py
+ @python3 setup.py sdist
+
+clean:
+ rm -r dist/
+ rm -r libreoffice_connection.egg-info/
+ rm -r libreoffice/
+ rm -r build/
+
+publish:
+ @echo "Uploading the release to pypi"
+ twine upload dist/*