Skip to content

Commit 0eca540

Browse files
committed
add instructions of pip install in editable mode
1 parent 797f990 commit 0eca540

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

docs/src/juliacall.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,24 @@ For now, you can pip install this package directly from github as follows:
99
pip install git+https://github.com/cjdoris/PythonCall.jl
1010
```
1111

12+
### Installation in editable mode
13+
1214
Developers may wish to clone the repo directly and pip install the module in editable mode.
13-
This guarantees you are using the latest version of PythonCall in conjunction with juliacall.
15+
This guarantees you are using the latest version of PythonCall in conjunction with juliacall. Please proceed with either option below.
16+
17+
1. Intall directly from GitHub. You may want to change the branch after `@` to the one you like.
18+
19+
```bash
20+
pip install -e git+https://github.com/cjdoris/PythonCall.jl@master#egg=juliacall
21+
```
22+
23+
The source code will be downloaded into a *src* subfolder of the current directory.
24+
25+
2. Alternatively, first clone this repository and then install from the local source. Please replace the directory below with your actual one.
26+
27+
```bash
28+
pip install --user -e git+file:///home/shuhua/github/PythonCall.jl@master#egg=juliacall
29+
```
1430

1531
Note also that regardless of installing `juliacall`, a module called `juliacall` will
1632
always be loaded into the interpreter by `PythonCall`. This means that other Python

0 commit comments

Comments
 (0)