updated build instructions
This commit is contained in:
parent
24154387ec
commit
56dcf72241
26
README.md
26
README.md
|
|
@ -19,6 +19,13 @@ python3 build.py build
|
||||||
./bin/sls
|
./bin/sls
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Python run module
|
||||||
|
```bash
|
||||||
|
cd SLS_Python
|
||||||
|
python3 -m sls_py
|
||||||
|
python3 -m sls_py.calc
|
||||||
|
```
|
||||||
|
|
||||||
Python Setup
|
Python Setup
|
||||||
```bash
|
```bash
|
||||||
cd SLS_Python
|
cd SLS_Python
|
||||||
|
|
@ -28,8 +35,8 @@ pip install build wheel "setuptools>=61.0"
|
||||||
pip install -e sls_build_backend
|
pip install -e sls_build_backend
|
||||||
```
|
```
|
||||||
|
|
||||||
Python
|
Python build module
|
||||||
```
|
```bash
|
||||||
cd SLS_Python
|
cd SLS_Python
|
||||||
source .venv/bin/activate
|
source .venv/bin/activate
|
||||||
python3 -m build --no-isolation
|
python3 -m build --no-isolation
|
||||||
|
|
@ -54,6 +61,13 @@ python build.py build
|
||||||
.\bin\sls.exe
|
.\bin\sls.exe
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Python run module
|
||||||
|
```bat
|
||||||
|
cd SLS_Python
|
||||||
|
python -m sls_py
|
||||||
|
python -m sls_py.calc
|
||||||
|
```
|
||||||
|
|
||||||
Python Setup
|
Python Setup
|
||||||
```bat
|
```bat
|
||||||
cd SLS_Python
|
cd SLS_Python
|
||||||
|
|
@ -63,7 +77,7 @@ pip install build wheel "setuptools>=61.0"
|
||||||
pip install -e sls_build_backend
|
pip install -e sls_build_backend
|
||||||
```
|
```
|
||||||
|
|
||||||
Python
|
Python build module
|
||||||
```bat
|
```bat
|
||||||
cd SLS_Python
|
cd SLS_Python
|
||||||
.venv\Scripts\activate.bat
|
.venv\Scripts\activate.bat
|
||||||
|
|
@ -84,8 +98,8 @@ cargo build
|
||||||
|
|
||||||
Reference Linux build instructions.
|
Reference Linux build instructions.
|
||||||
|
|
||||||
For C there is the `python build.py macos` command, but it is untested as I
|
For C there is the `python3 build.py macos` command, but it is untested as I
|
||||||
didn't test it on a Mac. I also don't know if `python build.py build` would also
|
didn't test it on a Mac. I also don't know if `python3 build.py build` would also
|
||||||
work on a Mac.
|
work on a Mac.
|
||||||
|
|
||||||
Python and Rust should just be the same or similar to Linux.
|
Python and Rust should just be the same or similar to Linux.
|
||||||
|
|
@ -105,7 +119,7 @@ sudo apt install gcc-arm-none-eabi
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
cd SLS_C
|
cd SLS_C
|
||||||
python build.py rp2040
|
python3 build.py rp2040
|
||||||
```
|
```
|
||||||
|
|
||||||
Flash Raspberry Pi Pico:
|
Flash Raspberry Pi Pico:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue