Skip to content

Commit c1a01b7

Browse files
committed
Drop references to the obsolete call
1 parent f0011a5 commit c1a01b7

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

pythonnet.sln

-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Python.PythonTestsRunner",
5353
EndProject
5454
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Build", "Build", "{142A6752-C2C2-4F95-B982-193418001B65}"
5555
ProjectSection(SolutionItems) = preProject
56-
configured.props = configured.props
5756
Directory.Build.props = Directory.Build.props
5857
EndProjectSection
5958
EndProject

src/runtime/native/ABI.cs

+1-2
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@ internal static void Initialize(Version version, BorrowedReference pyType)
2424
if (typeOffsetsClass is null)
2525
{
2626
var types = thisAssembly.GetTypes().Select(type => type.Name).Where(name => name.StartsWith("TypeOffset"));
27-
string message = $"Searching for {className}, found {string.Join(",", types)}. " +
28-
"If you are building Python.NET from source, make sure you have run 'python setup.py configure' to fill in configured.props";
27+
string message = $"Searching for {className}, found {string.Join(",", types)}.";
2928
throw new NotSupportedException($"Python ABI v{version} is not supported: {message}");
3029
}
3130
var typeOffsets = (ITypeOffsets)Activator.CreateInstance(typeOffsetsClass);

0 commit comments

Comments
 (0)