@@ -21,19 +21,19 @@ Installation
21
21
22
22
Python.NET is available as a source release on
23
23
`GitHub <https://github.com/pythonnet/pythonnet/releases >`__ and as a
24
- binary wheel or source distribution from the `Python Package
25
- Index <https://pypi.python.org/pypi/pythonnet> `__.
26
-
27
- The source release is a self-contained “private” assembly. Just unzip
28
- the package wherever you want it, cd to that directory, build the
29
- solution `` python setup.py build_ext --inplace ``. Once you start up
30
- Python or IPython interpreter in this directory or append this directory
31
- to `` sys.path ``, then after `` import clr `` statement .NET assemblies can
32
- be used. You can also run `` nPython.exe `` (`` mono nPython.exe `` on
33
- `` *nix ``) to check how python can be embedded in console .NET
34
- application. Note that the source release does not include a copy of the
35
- CPython runtime, so you will need to have installed Python on your
36
- machine before using the source release.
24
+ platform-independent binary wheel or source distribution from the `Python
25
+ Package Index <https://pypi.python.org/pypi/pythonnet> `__.
26
+
27
+ Installing from PyPI can be done using `` pip install pythonnet ``.
28
+
29
+ To build from source (either the `` sdist `` or clone or snapshot of the
30
+ repository), only the .NET6 SDK (or newer) and Python itself are required. If
31
+ `` dotnet `` is on the `` PATH ``, building can be done using
32
+
33
+ .. code :: bash
34
+
35
+ python setup.py build
36
+
37
37
38
38
Loading a Runtime
39
39
~~~~~~~~~~~~~~~~~
0 commit comments