File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff 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" ],
Original file line number Diff line number Diff line change 11#! /bin/bash
22set -e
33. .env/bin/activate
4- echo " Replacing package readme with root..."
5- cp ../../README.md ./mathy_alpha_sm/
64echo " Build python package..."
75python setup.py sdist bdist_wheel
You can’t perform that action at this time.
0 commit comments