From 2d7c96be4e2a68d00e619b9b17602ca3fe182938 Mon Sep 17 00:00:00 2001 From: Eugen Ciur Date: Tue, 19 Jan 2021 12:18:29 +0100 Subject: [PATCH] update mglib --- README.md => README.rst | 14 ++++++++++---- setup.cfg | 14 ++++++++++++++ setup.py | 19 ------------------- 3 files changed, 24 insertions(+), 23 deletions(-) rename README.md => README.rst (61%) create mode 100644 setup.cfg diff --git a/README.md b/README.rst similarity index 61% rename from README.md rename to README.rst index 4f484ac..ce39d81 100644 --- a/README.md +++ b/README.rst @@ -1,18 +1,24 @@ +======= MgLib ======= Python Package containing modules shared across all [Papermerge Project](https://github.com/ciur/papermerge) project. -## Installation +############## +Installation +############## pip install mglib - -## Run tests +########### +Run tests +########### python test/run.py -## Requirements +############## +Requirements +############## python >= 3.7 diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 0000000..2a32bc1 --- /dev/null +++ b/setup.cfg @@ -0,0 +1,14 @@ +[metadata] +name = mglib +version = 1.3.6 +description = Common code used across all Papermerge project utilities +long_description = file: README.rst +url = https://www.papermerge.com/ +author = Eugen Ciur +author_email = eugen@papermerge.com +keywords= common, package, shared, papermerge, pdf, ocr, dms +license = Apache 2.0 License +classifiers = + "Programming Language :: Python :: 3" + "License :: OSI Approved :: Apache Software License" + "Operating System :: OS Independent" diff --git a/setup.py b/setup.py index beb4070..4b968d3 100644 --- a/setup.py +++ b/setup.py @@ -1,25 +1,6 @@ from setuptools import find_packages, setup -with open("README.md", "r") as fh: - long_description = fh.read() - - setup( - name="mglib", - version="1.3.5", - author="Eugen Ciur", - author_email="eugen@papermerge.com", - url="https://github.com/papermerge/mglib", - description="Common code used across all Papermerge project utilities", - long_description=long_description, - long_description_content_type="text/markdown", - license="Apache 2.0 License", - keywords="common, package, shared, papermerge, pdf, ocr, dms", packages=find_packages(), - classifiers=[ - "Programming Language :: Python :: 3", - "License :: OSI Approved :: Apache Software License", - "Operating System :: OS Independent", - ], python_requires='>=3.7', )