Skip to content

Commit cd68ff0

Browse files
fix(mathy_alpha_sm): add long_description to setup
1 parent 13db587 commit cd68ff0

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

libraries/mathy_alpha_sm/setup.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,14 @@ def setup_package():
4242
meta = load_meta(meta_path)
4343
model_name = meta["name"]
4444
model_dir = path.join(model_name)
45+
# Copy in mathy readme
46+
with open(path.join(root, "../../README.md"), "r") as fh:
47+
long_description = fh.read()
4548
setup(
4649
name=model_name,
4750
description=meta["description"],
51+
long_description=long_description,
52+
long_description_content_type="text/markdown",
4853
author=meta["author"],
4954
author_email=meta["email"],
5055
url=meta["url"],
Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
#!/bin/bash
22
set -e
33
. .env/bin/activate
4-
echo "Replacing package readme with root..."
5-
cp ../../README.md ./mathy_alpha_sm/
64
echo "Build python package..."
75
python setup.py sdist bdist_wheel

0 commit comments

Comments
 (0)