[Libreoffice-commits] core.git: uitest/packaging

Markus Mohrhard markus.mohrhard at googlemail.com
Wed Jun 7 22:31:16 UTC 2017


 uitest/packaging/Makefile |   16 ++++++++++++++++
 uitest/packaging/setup.py |   26 ++++++++++++++++++++++++++
 2 files changed, 42 insertions(+)

New commits:
commit 8af868e2879282e85e32cabe824bc0990985fc81
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date:   Thu Jun 8 00:28:35 2017 +0200

    prepare publishing the libreoffice-connection python code
    
    Change-Id: I730207465e185a0b942b5636cd7ba3bebe7856f5

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/*
diff --git a/uitest/packaging/README.rst b/uitest/packaging/README.rst
new file mode 100644
index 000000000000..e69de29bb2d1
diff --git a/uitest/packaging/setup.cfg b/uitest/packaging/setup.cfg
new file mode 100644
index 000000000000..e69de29bb2d1
diff --git a/uitest/packaging/setup.py b/uitest/packaging/setup.py
new file mode 100644
index 000000000000..8e4fdddac7b9
--- /dev/null
+++ b/uitest/packaging/setup.py
@@ -0,0 +1,26 @@
+from setuptools import setup, find_packages
+
+setup(
+        name="libreoffice-connection",
+        version="0.0.1",
+        description="Connection code for LibreOffice's pyUNO",
+        long_description="",
+        url="http://www.libreoffice.org",
+        author="The LibreOffice developers",
+        author_email="libreoffice at lists.freedesktop.org",
+        license="MPL2",
+        classifiers=[
+            "Development Status :: 3 - Alpha",
+            "Intended Audience :: Developers",
+            "License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)",
+            "Programming Language :: Python :: 3.2",
+            "Programming Language :: Python :: 3.3",
+            "Programming Language :: Python :: 3.4",
+            "Programming Language :: Python :: 3.5",
+            "Programming Language :: Python :: 3.6",
+            "Topic :: Office/Business :: Office Suites",
+            "Topic :: Software Development :: Libraries",
+            ],
+        keywords="office automation",
+        packages=find_packages(),
+)


More information about the Libreoffice-commits mailing list