Skip to content

Commit

Permalink
Add a README in pyproject.toml also
Browse files Browse the repository at this point in the history
  • Loading branch information
FrancescAlted committed Jun 20, 2024
1 parent 17812c4 commit 295f26b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 = "[email protected]"}]
maintainers = [{ name = "Blosc Development Team", email = "[email protected]"}]
classifiers = [
Expand Down
5 changes: 2 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = []
Expand Down

0 comments on commit 295f26b

Please sign in to comment.