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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 2 additions & 6 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy