Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8fa699c

Browse files
committed
Update runtime/assemblyinfo
1 parent ea0fd7a commit 8fa699c

File tree

2 files changed

+25
-33
lines changed

2 files changed

+25
-33
lines changed

Python.Runtime.dll.config

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,21 +9,14 @@ For more information read:
99
-->
1010

1111
<configuration>
12-
<dllmap dll="python23" target="libpython2.3.so" os="!windows" />
13-
<dllmap dll="python24" target="libpython2.4.so" os="!windows" />
14-
<dllmap dll="python25" target="libpython2.5.so" os="!windows" />
15-
<dllmap dll="python26" target="libpython2.6.so" os="!windows" />
1612
<dllmap dll="python27" target="libpython2.7.so" os="!windows" />
17-
<dllmap dll="python32" target="libpython3.2.so" os="!windows" />
1813
<dllmap dll="python33" target="libpython3.3.so" os="!windows" />
1914
<dllmap dll="python34" target="libpython3.4.so" os="!windows" />
20-
<dllmap dll="python23.dll" target="libpython2.3.so" os="!windows" />
21-
<dllmap dll="python24.dll" target="libpython2.4.so" os="!windows" />
22-
<dllmap dll="python25.dll" target="libpython2.5.so" os="!windows" />
23-
<dllmap dll="python26.dll" target="libpython2.6.so" os="!windows" />
15+
<dllmap dll="python35" target="libpython3.5.so" os="!windows" />
16+
<dllmap dll="python36" target="libpython3.6.so" os="!windows" />
2417
<dllmap dll="python27.dll" target="libpython2.7.so" os="!windows" />
25-
<dllmap dll="python32.dll" target="libpython3.2.so" os="!windows" />
2618
<dllmap dll="python33.dll" target="libpython3.3.so" os="!windows" />
2719
<dllmap dll="python34.dll" target="libpython3.4.so" os="!windows" />
20+
<dllmap dll="python35.dll" target="libpython3.5.so" os="!windows" />
21+
<dllmap dll="python36.dll" target="libpython3.6.so" os="!windows" />
2822
</configuration>
29-

src/runtime/assemblyinfo.cs

Lines changed: 21 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,34 @@
11
using System;
22
using System.Reflection;
3-
using System.Runtime.InteropServices;
43
using System.Resources;
4+
using System.Runtime.InteropServices;
55

66
[assembly: AssemblyProduct("Python for .NET")]
77
[assembly: AssemblyVersion("4.0.0.1")]
8-
[assembly: AssemblyDefaultAliasAttribute("Python.Runtime.dll")]
8+
[assembly: AssemblyDefaultAlias("Python.Runtime.dll")]
99
[assembly: CLSCompliant(true)]
1010
[assembly: ComVisible(false)]
11-
[assembly: AssemblyCopyrightAttribute("MIT License")]
12-
[assembly: AssemblyFileVersionAttribute("2.0.0.2")]
13-
[assembly: NeutralResourcesLanguageAttribute("en")]
11+
[assembly: AssemblyCopyright("MIT License")]
12+
[assembly: AssemblyFileVersion("2.0.0.2")]
13+
[assembly: NeutralResourcesLanguage("en")]
1414

15-
#if (PYTHON23)
16-
[assembly: AssemblyTitleAttribute("Python.Runtime for Python 2.3")]
17-
[assembly: AssemblyDescriptionAttribute("Python Runtime for Python 2.3")]
15+
#if PYTHON27
16+
[assembly: AssemblyTitle("Python.Runtime for Python 2.7")]
17+
[assembly: AssemblyDescription("Python Runtime for Python 2.7")]
1818
#endif
19-
#if (PYTHON24)
20-
[assembly: AssemblyTitleAttribute("Python.Runtime for Python 2.4")]
21-
[assembly: AssemblyDescriptionAttribute("Python Runtime for Python 2.4")]
19+
#if PYTHON33
20+
[assembly: AssemblyTitle("Python.Runtime for Python 3.3")]
21+
[assembly: AssemblyDescription("Python Runtime for Python 3.3")]
2222
#endif
23-
#if (PYTHON25)
24-
[assembly: AssemblyTitleAttribute("Python.Runtime for Python 2.5")]
25-
[assembly: AssemblyDescriptionAttribute("Python Runtime for Python 2.5")]
23+
#if PYTHON34
24+
[assembly: AssemblyTitle("Python.Runtime for Python 3.4")]
25+
[assembly: AssemblyDescription("Python Runtime for Python 3.4")]
2626
#endif
27-
#if (PYTHON26)
28-
[assembly: AssemblyTitleAttribute("Python.Runtime for Python 2.6")]
29-
[assembly: AssemblyDescriptionAttribute("Python Runtime for Python 2.6")]
27+
#if PYTHON35
28+
[assembly: AssemblyTitle("Python.Runtime for Python 3.5")]
29+
[assembly: AssemblyDescription("Python Runtime for Python 3.5")]
30+
#endif
31+
#if PYTHON36
32+
[assembly: AssemblyTitle("Python.Runtime for Python 3.6")]
33+
[assembly: AssemblyDescription("Python Runtime for Python 3.6")]
3034
#endif
31-
#if (PYTHON27)
32-
33-
[assembly: AssemblyTitle("Python.Runtime for Python 2.7")]
34-
[assembly: AssemblyDescription("Python Runtime for Python 2.7")]
35-
#endif

0 commit comments

Comments
 (0)