File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed
Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 11#! /bin/bash
22set -euo pipefail
33
4- PANDOC=pandoc
5-
6- ${PANDOC} -f markdown_github -t rst -o README.rst README.md
74rm -rf dist
85python setup.py sdist bdist_wheel
96twine upload dist/*
10- rm README.rst
Original file line number Diff line number Diff line change 33from setuptools import setup
44from setuptools .command .test import test as TestCommand
55
6+
7+ def read (fname ):
8+ return open (os .path .join (os .path .dirname (__file__ ), fname )).read ()
9+
10+
611short_description = "Standalone application server framework using asyncio"
7- long_description = short_description
8- if os .path .exists ('README.rst' ):
9- long_description = open ('README.rst' ).read ()
12+ long_description = read ('README.md' )
1013
1114install_requires : list [str ] = []
1215
@@ -44,6 +47,7 @@ def run_tests(self):
4447 author_email = 'kblin@biosustain.dtu.dk' ,
4548 description = short_description ,
4649 long_description = long_description ,
50+ long_description_content_type = 'text/markdown' ,
4751 install_requires = install_requires ,
4852 tests_require = tests_require ,
4953 cmdclass = {'test' : PyTest },
You can’t perform that action at this time.
0 commit comments