mirror of
https://github.com/sipeed/MaixCDK.git
synced 2026-09-13 07:03:24 -05:00
41 lines
528 B
Markdown
41 lines
528 B
Markdown
maixcdk-example: example component for MaixCDK
|
|
=====
|
|
|
|
## Install
|
|
|
|
Install from source:
|
|
```
|
|
pip install .
|
|
```
|
|
|
|
Install from pypi:
|
|
```
|
|
pip install maixcdk-example -U
|
|
```
|
|
|
|
Set index url for pip temporarily:
|
|
```
|
|
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple maixcdk-example
|
|
```
|
|
|
|
Or globally set index url for pip:
|
|
```
|
|
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
|
|
```
|
|
|
|
|
|
## Publish
|
|
|
|
```
|
|
pip install -U twine
|
|
|
|
python setup.py sdist
|
|
# python setup.py sdist bdist_wheel
|
|
|
|
twine upload dist/*
|
|
```
|
|
|
|
|
|
|
|
|