Fix setup.py and README.rst format
Add long_description_content_type text/x-rst Signed-off-by: Huang Rui <vowstar@gmail.com>master
parent
249830dfc7
commit
e58a6a4d64
|
@ -189,7 +189,7 @@ Ubuntu, Debian Requirements
|
||||||
sudo apt update
|
sudo apt update
|
||||||
sudo apt install python3 python3-pip
|
sudo apt install python3 python3-pip
|
||||||
sudo pip3 install pyserial
|
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/python3.6 /usr/bin/python3
|
||||||
sudo ln -s /bin/pip3.6 /usr/bin/pip3
|
sudo ln -s /bin/pip3.6 /usr/bin/pip3
|
||||||
sudo pip3 install pyserial
|
sudo pip3 install pyserial
|
||||||
sudo pip3 install pyelftools
|
sudo pip3 install pyelftools
|
||||||
|
|
||||||
Trouble Shooting
|
Trouble Shooting
|
||||||
----------------
|
----------------
|
||||||
|
@ -245,6 +245,7 @@ Windows
|
||||||
**USB-SERIAL CH340(COM13)**.
|
**USB-SERIAL CH340(COM13)**.
|
||||||
|
|
||||||
.. code:: bash
|
.. code:: bash
|
||||||
|
|
||||||
# Using pip, only need once when you install
|
# Using pip, only need once when you install
|
||||||
pip install kflash
|
pip install kflash
|
||||||
kflash -p COM13 firmware.bin
|
kflash -p COM13 firmware.bin
|
||||||
|
|
1
setup.py
1
setup.py
|
@ -13,6 +13,7 @@ setup(
|
||||||
'Kendryte UART ISP Utility - programming code to k210'
|
'Kendryte UART ISP Utility - programming code to k210'
|
||||||
),
|
),
|
||||||
long_description=open('README.rst').read(),
|
long_description=open('README.rst').read(),
|
||||||
|
long_description_content_type='text/x-rst',
|
||||||
author='https://github.com/kendryte/kflash.py/graphs/contributors',
|
author='https://github.com/kendryte/kflash.py/graphs/contributors',
|
||||||
author_email='auto@canaan-creative.com',
|
author_email='auto@canaan-creative.com',
|
||||||
maintainer='Huang Rui',
|
maintainer='Huang Rui',
|
||||||
|
|
Loading…
Reference in New Issue