Skip to content

Commit bccf83f

Browse files
authored
standard library is set by default by 5f6c715
Related commit: 5f6c715
1 parent c3ea697 commit bccf83f

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

README.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ To test RustPython, do the following:
2828

2929
$ git clone https://github.com/RustPython/RustPython
3030
$ cd RustPython
31-
$ export RUSTPYTHONPATH=Lib
3231
$ cargo run demo.py
3332
Hello, RustPython!
3433

@@ -149,20 +148,20 @@ methods are often the simplest and easiest way to contribute.
149148
You can also simply run `./whats_left.sh` to assist in finding any unimplemented
150149
method.
151150

152-
## Using a standard library
151+
## Using a different standard library
153152

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
155154
library by setting the RUSTPYTHONPATH environment variable.
156155

157156
To do this, follow this method:
158157

159158
```shell
160-
$ export RUSTPYTHONPATH=~/GIT/RustPython/Lib
159+
$ export RUSTPYTHONPATH=./Lib # this is same as the default value
161160
$ cargo run -- -c 'import xdrlib'
162161
```
163162

164163
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.
166165

167166
## Compiling to WebAssembly
168167

0 commit comments

Comments
 (0)