| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 0e5e58e commit 928717d
11 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,28 @@ | |||
| 1 | + using System; | ||
| 2 | + using System.Reflection; | ||
| 3 | + using System.Resources; | ||
| 4 | + using System.Runtime.InteropServices; | ||
| 5 | + | ||
| 6 | + // General Information about an assembly is controlled through the following | ||
| 7 | + // set of attributes. Change these attribute values to modify the information | ||
| 8 | + // associated with an assembly. | ||
| 9 | + [assembly: AssemblyConfiguration("")] | ||
| 10 | + [assembly: AssemblyCompany("pythonnet")] | ||
| 11 | + [assembly: AssemblyProduct("Python for .NET")] | ||
| 12 | + [assembly: AssemblyCopyright("Copyright (c) 2006-2017 the contributors of the 'Python for .NET' project")] | ||
| 13 | + [assembly: AssemblyTrademark("")] | ||
| 14 | + | ||
| 15 | + [assembly: AssemblyCulture("")] | ||
| 16 | + [assembly: NeutralResourcesLanguage("")] | ||
| 17 | + | ||
| 18 | + [assembly: CLSCompliant(true)] | ||
| 19 | + | ||
| 20 | + // Setting ComVisible to false makes the types in this assembly not visible | ||
| 21 | + // to COM components. If you need to access a type in this assembly from | ||
| 22 | + // COM, set the ComVisible attribute to true on that type. | ||
| 23 | + [assembly: ComVisible(false)] | ||
| 24 | + | ||
| 25 | + // Version Information. Keeping it simple. May need to revisit for Nuget | ||
| 26 | + // See: https://codingforsmarties.wordpress.com/2016/01/21/how-to-version-assemblies-destined-for-nuget/ | ||
| 27 | + // AssemblyVersion can only be numeric | ||
| 28 | + [assembly: AssemblyVersion("2.3.0")] | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -52,7 +52,8 @@ public static void initclr() | |||
| 52 | 52 | var pythonRuntimeName = new AssemblyName("Python.Runtime") | |
| 53 | 53 | { | |
| 54 | 54 | #if USE_PYTHON_RUNTIME_VERSION | |
| 55 | - Version = new Version("4.0.0.1"), | ||
| 55 | + // Has no effect until SNK works. Keep updated anyways. | ||
| 56 | + Version = new Version("2.3.0"), | ||
| 56 | 57 | #endif | |
| 57 | 58 | CultureInfo = CultureInfo.InvariantCulture | |
| 58 | 59 | }; | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,11 @@ | |||
| 1 | + using System.Reflection; | ||
| 2 | + using System.Runtime.InteropServices; | ||
| 3 | + | ||
| 4 | + // General Information about an assembly is controlled through the following | ||
| 5 | + // set of attributes. Change these attribute values to modify the information | ||
| 6 | + // associated with an assembly. | ||
| 7 | + [assembly: AssemblyTitle("clrmodule")] | ||
| 8 | + [assembly: AssemblyDescription("")] | ||
| 9 | + | ||
| 10 | + // The following GUID is for the ID of the typelib if this project is exposed to COM | ||
| 11 | + [assembly: Guid("ae10d6a4-55c2-482f-9716-9988e6c169e3")] | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -14,6 +14,7 @@ | |||
| 14 | 14 | <NoWarn>1591</NoWarn> | |
| 15 | 15 | <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir> | |
| 16 | 16 | <PythonBuildDir Condition=" '$(PythonBuildDir)' == '' ">$(SolutionDir)</PythonBuildDir> | |
| 17 | + <AppDesignerFolder>Properties</AppDesignerFolder> | ||
| 17 | 18 | <!--If need to freeze language version: <LangVersion>5</LangVersion> !--> | |
| 18 | 19 | <RestorePackages>true</RestorePackages> | |
| 19 | 20 | <ErrorReport>prompt</ErrorReport> | |
@@ -72,7 +73,10 @@ | |||
| 72 | 73 | <Reference Include="System" /> | |
| 73 | 74 | </ItemGroup> | |
| 74 | 75 | <ItemGroup> | |
| 75 | - <Compile Include="AssemblyInfo.cs" /> | ||
| 76 | + <Compile Include="Properties\AssemblyInfo.cs" /> | ||
| 77 | + <Compile Include="..\SharedAssemblyInfo.cs"> | ||
| 78 | + <Link>Properties\SharedAssemblyInfo.cs</Link> | ||
| 79 | + </Compile> | ||
| 76 | 80 | <Compile Include="ClrModule.cs" /> | |
| 77 | 81 | </ItemGroup> | |
| 78 | 82 | <ItemGroup> | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -14,6 +14,7 @@ | |||
| 14 | 14 | <NoWarn>1591</NoWarn> | |
| 15 | 15 | <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir> | |
| 16 | 16 | <PythonBuildDir Condition=" '$(PythonBuildDir)' == '' ">$(SolutionDir)</PythonBuildDir> | |
| 17 | + <AppDesignerFolder>Properties</AppDesignerFolder> | ||
| 17 | 18 | <!--If need to freeze language version: <LangVersion>5</LangVersion> !--> | |
| 18 | 19 | <ApplicationIcon>python-clear.ico</ApplicationIcon> | |
| 19 | 20 | <ErrorReport>prompt</ErrorReport> | |
@@ -71,7 +72,10 @@ | |||
| 71 | 72 | <Reference Include="System" /> | |
| 72 | 73 | </ItemGroup> | |
| 73 | 74 | <ItemGroup> | |
| 74 | - <Compile Include="AssemblyInfo.cs" /> | ||
| 75 | + <Compile Include="Properties\AssemblyInfo.cs" /> | ||
| 76 | + <Compile Include="..\SharedAssemblyInfo.cs"> | ||
| 77 | + <Link>Properties\SharedAssemblyInfo.cs</Link> | ||
| 78 | + </Compile> | ||
| 75 | 79 | <Compile Include="pythonconsole.cs" /> | |
| 76 | 80 | </ItemGroup> | |
| 77 | 81 | <ItemGroup> | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,8 @@ | |||
| 1 | + using System.Reflection; | ||
| 2 | + | ||
| 3 | + // General Information about an assembly is controlled through the following | ||
| 4 | + // set of attributes. Change these attribute values to modify the information | ||
| 5 | + // associated with an assembly. | ||
| 6 | + [assembly: AssemblyTitle("Python Console")] | ||
| 7 | + [assembly: AssemblyDescription("")] | ||
| 8 | + [assembly: AssemblyDefaultAlias("python.exe")] | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,11 @@ | |||
| 1 | + using System.Reflection; | ||
| 2 | + using System.Runtime.CompilerServices; | ||
| 3 | + | ||
| 4 | + // General Information about an assembly is controlled through the following | ||
| 5 | + // set of attributes. Change these attribute values to modify the information | ||
| 6 | + // associated with an assembly. | ||
| 7 | + [assembly: AssemblyTitle("Python for .NET")] | ||
| 8 | + [assembly: AssemblyDescription("")] | ||
| 9 | + [assembly: AssemblyDefaultAlias("Python.Runtime.dll")] | ||
| 10 | + | ||
| 11 | + [assembly: InternalsVisibleTo("Python.EmbeddingTest")] | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments