Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitcc2fdac

Browse files
committed
Adjust installation documentation
1 parent42b122d commitcc2fdac

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

‎doc/source/python.rst

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -21,19 +21,19 @@ Installation
2121

2222
Python.NET is available as a source release on
2323
`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-independentbinary wheel or source distribution from the `Python
25+
PackageIndex <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+
3737
3838
Loading a Runtime
3939
~~~~~~~~~~~~~~~~~

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp