Spring-RPi
介绍
树莓派cpython对接
软件架构
软件架构说明
安装教程
- xxxx
- xxxx
- xxxx
使用说明
-
一些命令需要更新版本的pip,所以首先确保你安装了最新版本: Linux: python3 -m pip install --upgrade pip Windows: py -m pip install --upgrade pip
-
安装最新版本的 PyPA构建 先安装pip包 Linux: python3 -m ensurepip --default-pip Windows: py -m ensurepip --default-pip(python -m pip) 再安装编译包工具 Linux: python3 -m pip install --upgrade build Windows:py -m pip install --upgrade build
-
编译包 Linux: python3 -m build Windows:py -m build
此命令应输出大量文本,完成后应在dist目录中生成两个文件: dist/ example_package_YOUR_USERNAME_HERE-0.0.1-py3-none-any.whl example_package_YOUR_USERNAME_HERE-0.0.1.tar.gz 该tar.gz文件是一个源档案,而该 .whl文件是一个内置的分发。 较新的 pip版本优先安装构建的发行版,但如果需要,将回退到源存档。 您应该始终上传源存档并为您的项目兼容的平台提供构建的存档。 在这种情况下,我们的示例包在任何平台上都与 Python 兼容, 因此只需要一个构建的发行版。
-
上传包到PyPi 安装:twine Linux:python3 -m pip install --upgrade twine Windows:py -m pip install --upgrade twine 安装后,运行 Twine 以上传以下所有档案dist: 上传测试服务器: Linux:python3 -m twine upload --repository testpypi dist/* Windows:py -m twine upload --repository testpypi dist/*
上传正式服务器: Linux:python3 -m twine upload dist/--repository Windows:py -m twine upload dist/--repository
-
使用上传的python包 Linux:python3 -m pip install --index-url https://test.pypi.org/simple/ --no-deps example-pkg-YOUR-USERNAME-HERE Windows:py -m pip install --index-url https://test.pypi.org/simple/ --no-deps example-pkg-YOUR-USERNAME-HERE
参与贡献
- Fork 本仓库
- 新建 Feat_xxx 分支
- 提交代码
- 新建 Pull Request
Release files for rpi.tcy 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| rpi.tcy-0.0.1.tar.gz | 11.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| rpi.tcy-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 18.3 kB
Release files / rpi.tcy-0.0.1.tar.gz
| Download URL | rpi.tcy-0.0.1.tar.gz |
|---|---|
| Size | 11.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2d36c16f82f2f3b72392704bedd90a6d51f8d2038a2adacc9f9b71a0c163f5f0
|
|
BLAKE2b-256 checksum How to use checksums |
9141ad1a0606d2b9c453f8de83af7104e190ba89ccd9aa925ed2991bbcd04c80
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.0 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.8.6rc1
|
Release files / rpi.tcy-0.0.1-py3-none-any.whl
| Download URL | rpi.tcy-0.0.1-py3-none-any.whl |
|---|---|
| Size | 6.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ac222ae06cc0150e045e9dc6684d7562b718d567fb2a3bcc46faeb18fa39d76c
|
|
BLAKE2b-256 checksum How to use checksums |
7bbdc460b10cb988e14ea77e6e3f18e539bf9f2da2c4da78e3dd734cd73ff9a2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.0 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.8.6rc1
|