File tree 1 file changed +4
-5
lines changed 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,6 @@ To test RustPython, do the following:
28
28
29
29
$ git clone https://github.com/RustPython/RustPython
30
30
$ cd RustPython
31
- $ export RUSTPYTHONPATH=Lib
32
31
$ cargo run demo.py
33
32
Hello, RustPython!
34
33
@@ -149,20 +148,20 @@ methods are often the simplest and easiest way to contribute.
149
148
You can also simply run ` ./whats_left.sh ` to assist in finding any unimplemented
150
149
method.
151
150
152
- ## Using a standard library
151
+ ## Using a different standard library
153
152
154
- As of now the standard library is under construction. You can use a standard
153
+ As of now the standard library is under construction. You can change a standard
155
154
library by setting the RUSTPYTHONPATH environment variable.
156
155
157
156
To do this, follow this method:
158
157
159
158
``` shell
160
- $ export RUSTPYTHONPATH=~ /GIT/RustPython/ Lib
159
+ $ export RUSTPYTHONPATH=./ Lib # this is same as the default value
161
160
$ cargo run -- -c ' import xdrlib'
162
161
```
163
162
164
163
You can play around with other standard libraries for python. For example, the
165
- [ ouroboros library] ( https://github.com/pybee/ouroboros ) .
164
+ [ ouroboros library] ( https://github.com/pybee/ouroboros ) or CPython Lib .
166
165
167
166
## Compiling to WebAssembly
168
167
You can’t perform that action at this time.
0 commit comments