From afbe0f495cf50d3c4bdbf42c0f88afe63cd2d17b Mon Sep 17 00:00:00 2001 From: Feanil Patel Date: Mon, 8 Apr 2024 15:53:12 -0400 Subject: [PATCH] build: Add a long description. --- i18n/__init__.py | 2 +- setup.py | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/i18n/__init__.py b/i18n/__init__.py index 65914f0..beae1fe 100644 --- a/i18n/__init__.py +++ b/i18n/__init__.py @@ -6,7 +6,7 @@ from . import config -__version__ = '1.4.0' +__version__ = '1.5.0' class Runner: diff --git a/setup.py b/setup.py index 725a125..9f1531b 100755 --- a/setup.py +++ b/setup.py @@ -1,6 +1,7 @@ #!/usr/bin/env python import os import re +import pathlib from setuptools import setup @@ -42,11 +43,17 @@ def get_version(*file_paths): VERSION = get_version("i18n", "__init__.py") +here = pathlib.Path(__file__).parent.resolve() + +# Get the long description from the README file +long_description = (here / "README.rst").read_text(encoding="utf-8") setup( name='edx-i18n-tools', version=VERSION, description='edX Internationalization Tools', + long_description=long_description, + long_description_content_type='text/x-rst', author='edX', author_email='oscm@edx.org', url='https://github.com/openedx/i18n-tools',