Skip to content

Commit 7c84b10

Browse files
authored
really remove versions below 3.6 (#1230)
1 parent 1f26a51 commit 7c84b10

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

src/perf_tests/Python.PerformanceTests.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
</ItemGroup>
2929

3030
<Target Name="GetRuntimeLibBuildOutput" BeforeTargets="Build">
31-
<MSBuild Projects="..\runtime\Python.Runtime.15.csproj" Properties="PYTHONNET_PY3_VERSION=PYTHON35;Configuration=$(Configuration);TargetFramework=net40;Python3Version=PYTHON35;OutputPath=bin\for_perf\">
31+
<MSBuild Projects="..\runtime\Python.Runtime.15.csproj" Properties="PYTHONNET_PY3_VERSION=PYTHON38;Configuration=$(Configuration);TargetFramework=net40;Python3Version=PYTHON38;OutputPath=bin\for_perf\">
3232
<Output TaskParameter="TargetOutputs" ItemName="NewPythonRuntime" />
3333
</MSBuild>
3434
</Target>

src/runtime/runtime.cs

+2-6
Original file line numberDiff line numberDiff line change
@@ -43,18 +43,14 @@ public class Runtime
4343
#error You must define either UCS2 or UCS4!
4444
#endif
4545

46-
#if PYTHON34
47-
const string _minor = "4";
48-
#elif PYTHON35
49-
const string _minor = "5";
50-
#elif PYTHON36
46+
#if PYTHON36
5147
const string _minor = "6";
5248
#elif PYTHON37
5349
const string _minor = "7";
5450
#elif PYTHON38
5551
const string _minor = "8";
5652
#else
57-
#error You must define one of PYTHON34 to PYTHON38
53+
#error You must define one of PYTHON36 to PYTHON38
5854
#endif
5955

6056
#if WINDOWS

0 commit comments

Comments
 (0)