Skip to content

Commit 483e51a

Browse files
committed
doc(readme): intro easiest install meth and nimpylib
1 parent fce6a89 commit 483e51a

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

README.md

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,16 @@ Check out `./tests` to see more examples.
2828

2929
### How to use
3030

31-
#### prepare
31+
#### Easiest installation
32+
33+
```shell
34+
nimble install npython
35+
```
36+
37+
#### Manually Install (e.g. JS backend)
38+
Or you may wanna build for js backend or something else:
39+
40+
##### prepare
3241

3342
```
3443
git clone https://github.com/nimpylib/npython.git
@@ -40,14 +49,14 @@ NPython support C backend and multiply JS backends:
4049
> after build passing `-h` flag to npython and you will
4150
see help message
4251

43-
#### For a binary executable (C backend)
52+
##### For a binary executable (C backend)
4453

4554
```
4655
nimble build
4756
bin/npython
4857
```
4958

50-
#### For JS backend
59+
##### For JS backend
5160

5261
- NodeJS: `nimble buildJs -d:nodejs`
5362
- Deno: `nimble buildJs -d:deno`
@@ -56,6 +65,7 @@ bin/npython
5665

5766

5867
### Todo
68+
* integrate with [nimpylib](https://github.com/nimpylib/nimpylib)
5969
* more features on user defined class
6070
* builtin compat dict
6171
* yield stmt

0 commit comments

Comments
 (0)