Skip to content

Commit 99fab45

Browse files
ezyangfacebook-github-bot
authored andcommitted
Remove redundant build from build develop instructions
Summary: Pull Request resolved: pytorch#16467 Differential Revision: D13849661 Pulled By: ezyang fbshipit-source-id: d3d58bd31ac65ad9cbf0057b9a4c499c0f59d95a
1 parent 52ca4b8 commit 99fab45

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

CONTRIBUTING.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ git clone https://github.com/pytorch/pytorch
3737
cd pytorch
3838
```
3939

40-
3. Install PyTorch in `build develop` mode:
40+
3. Install PyTorch in `develop` mode:
4141

4242
A full set of instructions on installing PyTorch from source is here:
4343
https://github.com/pytorch/pytorch#from-source
@@ -51,7 +51,7 @@ python setup.py install
5151
with
5252

5353
```bash
54-
python setup.py build develop
54+
python setup.py develop
5555
```
5656

5757
This is especially useful if you are only changing Python files.
@@ -62,7 +62,7 @@ Python install.
6262
Hence, if you modify a Python file, you do not need to reinstall PyTorch again and again.
6363

6464
For example:
65-
- Install local PyTorch in `build develop` mode
65+
- Install local PyTorch in `develop` mode
6666
- modify your Python file `torch/__init__.py` (for example)
6767
- test functionality
6868
- modify your Python file `torch/__init__.py`
@@ -73,7 +73,7 @@ For example:
7373
You do not need to repeatedly install after modifying Python files.
7474

7575
In case you want to reinstall, make sure that you uninstall PyTorch first by running `pip uninstall torch`
76-
and `python setup.py clean`. Then you can install in `build develop` mode again.
76+
and `python setup.py clean`. Then you can install in `develop` mode again.
7777

7878
## Codebase structure
7979

@@ -212,7 +212,7 @@ specific build of PyTorch. To set one up:
212212
conda create -n pytorch-myfeature
213213
source activate pytorch-myfeature
214214
# if you run python now, torch will NOT be installed
215-
python setup.py build develop
215+
python setup.py develop
216216
```
217217

218218
## C++ Development tips
@@ -254,7 +254,7 @@ variables `DEBUG` and `NO_CUDA`.
254254

255255
For example:
256256
```bash
257-
NO_CUDA=1 DEBUG=1 python setup.py build develop
257+
NO_CUDA=1 DEBUG=1 python setup.py develop
258258
```
259259

260260
Make sure you continue to pass these flags on subsequent builds.

0 commit comments

Comments
 (0)