office-gobmx/uitest/packaging/setup.py
Hossein d3050ff4a1 Use Markdown instead of reStructuredText
Use Markdown markup instead of reStructuredText for
uitest/packaging/README.rst

Change from reStructuredText to Markdown in setup.py is done according
to this guide:

Making a PyPI-friendly README
https://packaging.python.org/en/latest/guides/making-a-pypi-friendly-readme/

Change-Id: I12cbde53518d7ceadec034827d8cb00380df1547
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/138555
Tested-by: Jenkins
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2022-09-26 00:26:05 +02:00

35 lines
1.2 KiB
Python

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(),
)