From 267c6f2ac71f92999e969232431ba04678e7437e Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 15 Apr 2024 07:54:39 +0200 Subject: Adding upstream version 4:24.2.0. Signed-off-by: Daniel Baumann --- uitest/packaging/Makefile | 16 ++++++++++++++++ uitest/packaging/README.md | 3 +++ uitest/packaging/setup.cfg | 0 uitest/packaging/setup.py | 35 +++++++++++++++++++++++++++++++++++ 4 files changed, 54 insertions(+) create mode 100644 uitest/packaging/Makefile create mode 100644 uitest/packaging/README.md create mode 100644 uitest/packaging/setup.cfg create mode 100644 uitest/packaging/setup.py (limited to 'uitest/packaging') diff --git a/uitest/packaging/Makefile b/uitest/packaging/Makefile new file mode 100644 index 0000000000..af63c946e7 --- /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.md b/uitest/packaging/README.md new file mode 100644 index 0000000000..41dacf5204 --- /dev/null +++ b/uitest/packaging/README.md @@ -0,0 +1,3 @@ +# Connection code for LibreOffice's pyUNO + +This code allows out-of-process communication with a LibreOffice instance. The instance can either be started by the script or a connection to a running LibreOffice instance. The code contains several safety checks for hanging and crashed LibreOffice instances. diff --git a/uitest/packaging/setup.cfg b/uitest/packaging/setup.cfg new file mode 100644 index 0000000000..e69de29bb2 diff --git a/uitest/packaging/setup.py b/uitest/packaging/setup.py new file mode 100644 index 0000000000..dcaa24512b --- /dev/null +++ b/uitest/packaging/setup.py @@ -0,0 +1,35 @@ +from setuptools import setup, find_packages +from codecs import open +from os import path + +here = path.abspath(path.dirname(__file__)) + +# Get the long description from the README file +with open(path.join(here, 'README.md'), encoding='utf-8') as f: + long_description = f.read() + +setup( + name="libreoffice-connection", + version="0.0.1", + description="Connection code for LibreOffice's pyUNO", + long_description=long_description, + long_description_content_type='text/markdown', + url="http://www.libreoffice.org", + author="The LibreOffice developers", + author_email="libreoffice@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(), +) -- cgit v1.2.3