diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2017-06-08 00:28:35 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2017-06-08 00:30:53 +0200 |
commit | 8af868e2879282e85e32cabe824bc0990985fc81 (patch) | |
tree | 8c1b0724fc387053e716d5420f42785c1d4ad89b /uitest | |
parent | 839fd8215b557a22282824a2ab42b37b48ffd0f9 (diff) |
prepare publishing the libreoffice-connection python code
Change-Id: I730207465e185a0b942b5636cd7ba3bebe7856f5
Diffstat (limited to 'uitest')
-rw-r--r-- | uitest/packaging/Makefile | 16 | ||||
-rw-r--r-- | uitest/packaging/README.rst | 0 | ||||
-rw-r--r-- | uitest/packaging/setup.cfg | 0 | ||||
-rw-r--r-- | uitest/packaging/setup.py | 26 |
4 files changed, 42 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/* diff --git a/uitest/packaging/README.rst b/uitest/packaging/README.rst new file mode 100644 index 000000000000..e69de29bb2d1 --- /dev/null +++ b/uitest/packaging/README.rst diff --git a/uitest/packaging/setup.cfg b/uitest/packaging/setup.cfg new file mode 100644 index 000000000000..e69de29bb2d1 --- /dev/null +++ b/uitest/packaging/setup.cfg 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@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(), +) |