Updates pythonnet package.

In the new package:
- C# decimal conversion will use C# double and python float due to the big performance impact of converting C# decimal to python decimal;
This commit is contained in:
AlexCatarino
2019-01-18 23:15:29 +00:00
parent 7a6c427735
commit ef59fa7ba2
24 changed files with 62 additions and 61 deletions
@@ -83,7 +83,9 @@
<None Include="CustomDataBitcoinAlgorithm.py" />
<None Include="CustomDataIndicatorExtensionsAlgorithm.py" />
<None Include="CustomDataNIFTYAlgorithm.py" />
<None Include="CustomDataRegressionAlgorithm.py" />
<None Include="CustomDataRegressionAlgorithm.py">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="CustomDataUniverseAlgorithm.py" />
<None Include="CustomIndicatorAlgorithm.py" />
<None Include="CustomModelsAlgorithm.py" />
@@ -180,7 +182,8 @@
</ItemGroup>
<ItemGroup>
<Reference Include="Python.Runtime, Version=1.0.5.12, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\QuantConnect.pythonnet.1.0.5.12\lib\Python.Runtime.dll</HintPath>
<HintPath>..\packages\QuantConnect.pythonnet.1.0.5.14\lib\Python.Runtime.dll</HintPath>
<Private>True</Private>
</Reference>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
@@ -192,12 +195,12 @@
./build.sh
</PostBuildEvent>
</PropertyGroup>
<Import Project="..\packages\QuantConnect.pythonnet.1.0.5.12\build\QuantConnect.pythonnet.targets" Condition="Exists('..\packages\QuantConnect.pythonnet.1.0.5.12\build\QuantConnect.pythonnet.targets')" />
<Import Project="..\packages\QuantConnect.pythonnet.1.0.5.14\build\QuantConnect.pythonnet.targets" Condition="Exists('..\packages\QuantConnect.pythonnet.1.0.5.14\build\QuantConnect.pythonnet.targets')" />
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
<PropertyGroup>
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
</PropertyGroup>
<Error Condition="!Exists('..\packages\QuantConnect.pythonnet.1.0.5.12\build\QuantConnect.pythonnet.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\QuantConnect.pythonnet.1.0.5.12\build\QuantConnect.pythonnet.targets'))" />
<Error Condition="!Exists('..\packages\QuantConnect.pythonnet.1.0.5.14\build\QuantConnect.pythonnet.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\QuantConnect.pythonnet.1.0.5.14\build\QuantConnect.pythonnet.targets'))" />
</Target>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.