Fix setup.py and README.rst format

Add long_description_content_type text/x-rst

Signed-off-by: Huang Rui <vowstar@gmail.com>
master
Huang Rui 2019-05-16 01:02:37 +08:00
parent 249830dfc7
commit e58a6a4d64
2 changed files with 4 additions and 2 deletions

View File

@ -189,7 +189,7 @@ Ubuntu, Debian Requirements
sudo apt update
sudo apt install python3 python3-pip
sudo pip3 install pyserial
sudo pip3 install pyelftools
sudo pip3 install pyelftools
--------------
@ -214,7 +214,7 @@ CentOS
sudo ln -s /bin/python3.6 /usr/bin/python3
sudo ln -s /bin/pip3.6 /usr/bin/pip3
sudo pip3 install pyserial
sudo pip3 install pyelftools
sudo pip3 install pyelftools
Trouble Shooting
----------------
@ -245,6 +245,7 @@ Windows
**USB-SERIAL CH340(COM13)**.
.. code:: bash
# Using pip, only need once when you install
pip install kflash
kflash -p COM13 firmware.bin

View File

@ -13,6 +13,7 @@ setup(
'Kendryte UART ISP Utility - programming code to k210'
),
long_description=open('README.rst').read(),
long_description_content_type='text/x-rst',
author='https://github.com/kendryte/kflash.py/graphs/contributors',
author_email='auto@canaan-creative.com',
maintainer='Huang Rui',