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

Commitf82d963

Browse files
committed
Changed advice to run 'python setup.py configure'
Python.Runtime.csproj includes all interopXX.cs files
1 parent8f66882 commitf82d963

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

‎src/runtime/Python.Runtime.csproj

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,6 @@
1919
<DefineConstants>$(DefineConstants);$(ConfiguredConstants)</DefineConstants>
2020
</PropertyGroup>
2121

22-
<ItemGroupCondition=" '$(PythonInteropFile)' != ''">
23-
<CompileRemove="interop*.cs" />
24-
<CompileInclude="interop.cs" />
25-
<CompileInclude="$(PythonInteropFile)" />
26-
</ItemGroup>
27-
2822
<ItemGroup>
2923
<NoneRemove="resources\clr.py" />
3024
<EmbeddedResourceInclude="resources\clr.py">

‎src/runtime/native/ABI.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ internal static void Initialize(Version version, BorrowedReference pyType)
2525
{
2626
vartypes=thisAssembly.GetTypes().Select(type=>type.Name).Where(name=>name.StartsWith("TypeOffset"));
2727
stringmessage=$"Searching for{className}, found{string.Join(",",types)}. "+
28-
"If you are building Python.NET from source, make sure you have run 'python setup.pydevelop' to fill in configured.props";
28+
"If you are building Python.NET from source, make sure you have run 'python setup.pyconfigure' to fill in configured.props";
2929
thrownewNotSupportedException($"Python ABI v{version} is not supported:{message}");
3030
}
3131
vartypeOffsets=(ITypeOffsets)Activator.CreateInstance(typeOffsetsClass);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp