Skip to content

Commit

Permalink
Add long_description that was missed in last release
Browse files Browse the repository at this point in the history
  • Loading branch information
FrancescAlted committed Jun 20, 2024
1 parent 89b8f1c commit 17812c4
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@
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:
long_description = f.read()

lib_dirs = []
inc_dirs = [np.get_include()]
libs = [] # Pre-built libraries ONLY, like python36.so
Expand Down Expand Up @@ -101,6 +106,8 @@ def setup_package():

metadata = dict(
version=version,
long_description=long_description,
long_description_content_type='text/x-rst',
install_requires=requirements,
libraries=clibs,
ext_modules=[
Expand Down

0 comments on commit 17812c4

Please sign in to comment.