From 295f26b46059f72c7f9361a28e03537da66f9bd9 Mon Sep 17 00:00:00 2001 From: Francesc Alted Date: Thu, 20 Jun 2024 19:57:49 +0200 Subject: [PATCH] Add a README in pyproject.toml also --- pyproject.toml | 1 + setup.py | 5 ++--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index feec3db..9f2f025 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -12,6 +12,7 @@ include = ["numexpr"] [project] name = "numexpr" description = "Fast numerical expression evaluator for NumPy" +readme = "README.rst" authors = [{name = "David M. Cooke, Francesc Alted, and others", email = "blosc@blosc.org"}] maintainers = [{ name = "Blosc Development Team", email = "blosc@blosc.org"}] classifiers = [ diff --git a/setup.py b/setup.py index 83e18fe..82f3651 100644 --- a/setup.py +++ b/setup.py @@ -31,9 +31,8 @@ pass fh.write("platform_machine = '%s'\n" % platform.machine()) -# Read the contents of the README file -this_directory = os.path.abspath(os.path.dirname(__file__)) -with open(os.path.join(this_directory, 'README.rst'), encoding='utf-8') as f: +# Read the contents of your README file +with open('README.rst', encoding='utf-8') as f: long_description = f.read() lib_dirs = []