You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Doc] Correct the note about dev installation (#3289)
* [Doc] Explain the different modes of setup.py more clearly
* Update docs/lang/articles/contribution/dev_install.md
Co-authored-by: Yi Xu <[email protected]>
Co-authored-by: Yi Xu <[email protected]>
Copy file name to clipboardExpand all lines: docs/lang/articles/contribution/dev_install.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -135,10 +135,10 @@ shipped with .NET).
135
135
:::note
136
136
`python setup.py develop` command (recommended for developers) works very similarly to
137
137
`setup.py install` command (recommended for users) except
138
-
that it doesn't actually install anything. It fits developer need better since edits
139
-
on python file take effect immediately without rebuilding. You only need to rerun `develop`
140
-
commands when you change a project’s C extensions or similarly compiled files. See
141
-
[development mode](https://setuptools.pypa.io/en/stable/userguide/development_mode.html) for more details.
138
+
that it doesn't actually install anything, but only adds a symbolic link in the deployment directory that links to the source code. It fits developers' needs better since edits
139
+
on python files take effect immediately without rebuilding. You only need to rerun `develop`
140
+
commands when you modify a project's C extensions or similarly compiled files. In comparison `install` deep copies the source code so you need to rerun it after any modification.
141
+
See [development mode](https://setuptools.pypa.io/en/stable/userguide/development_mode.html) for more details.
142
142
:::
143
143
144
144
2. Check out the `examples` folder for runnable examples. Run them with commands
0 commit comments