Skip to content

Commit 7be594e

Browse files
authored
Merge pull request Azure#102 from adammodlin/master
Update the python samples
2 parents 5c5fefa + 6f1bc73 commit 7be594e

File tree

3 files changed

+7
-12
lines changed

3 files changed

+7
-12
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Welcome to DocumentDB.
66
0) Pre-requirements:
77

88
Python 2.7, Python 3.3, Python 3.4, or Python 3.5
9-
https://www.python.org/download/releases
9+
https://www.python.org/downloads/
1010

1111
If you use Microsoft Visual Studio as IDE (we use 2015), please install the
1212
following extension for Python.

samples/CollectionManagement/CollectionManagement.pyproj

+2-4
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<ProjectGuid>d65bad79-205d-4b95-bc98-294974eab39c</ProjectGuid>
77
<ProjectHome>.</ProjectHome>
88
<StartupFile>Program.py</StartupFile>
9-
<SearchPath>..\Shared\</SearchPath>
9+
<SearchPath>..\Shared\;..\..\</SearchPath>
1010
<WorkingDirectory>.</WorkingDirectory>
1111
<OutputPath>.</OutputPath>
1212
<Name>CollectionManagement</Name>
@@ -28,10 +28,7 @@
2828
</ItemGroup>
2929
<PropertyGroup>
3030
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">10.0</VisualStudioVersion>
31-
<PtvsTargetsFile>$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\Python Tools\Microsoft.PythonTools.targets</PtvsTargetsFile>
3231
</PropertyGroup>
33-
<Import Condition="Exists($(PtvsTargetsFile))" Project="$(PtvsTargetsFile)" />
34-
<Import Condition="!Exists($(PtvsTargetsFile))" Project="$(MSBuildToolsPath)\Microsoft.Common.targets" />
3532
<!-- Uncomment the CoreCompile target to enable the Build command in
3633
Visual Studio and specify your pre- and post-build commands in
3734
the BeforeBuild and AfterBuild targets below. -->
@@ -40,4 +37,5 @@
4037
</Target>
4138
<Target Name="AfterBuild">
4239
</Target>
40+
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\Python Tools\Microsoft.PythonTools.targets" />
4341
</Project>

samples/DatabaseManagement/DatabaseManagement.pyproj

+4-7
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,12 @@
66
<ProjectGuid>9e81a024-996c-4c59-a9ef-e4e78afbb3bf</ProjectGuid>
77
<ProjectHome>.</ProjectHome>
88
<StartupFile>Program.py</StartupFile>
9-
<SearchPath>..\Shared\</SearchPath>
9+
<SearchPath>..\Shared\;..\..\</SearchPath>
1010
<WorkingDirectory>.</WorkingDirectory>
1111
<OutputPath>.</OutputPath>
1212
<Name>DatabaseManagement</Name>
1313
<RootNamespace>DatabaseManagement</RootNamespace>
14-
<InterpreterId>{9a7a9026-48c1-4688-9d5d-e5699d47d074}</InterpreterId>
15-
<InterpreterVersion>2.7</InterpreterVersion>
14+
<InterpreterId>Global|PythonCore|3.6</InterpreterId>
1615
</PropertyGroup>
1716
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
1817
<DebugSymbols>true</DebugSymbols>
@@ -23,7 +22,7 @@
2322
<EnableUnmanagedDebugging>false</EnableUnmanagedDebugging>
2423
</PropertyGroup>
2524
<ItemGroup>
26-
<InterpreterReference Include="{9a7a9026-48c1-4688-9d5d-e5699d47d074}\2.7" />
25+
<InterpreterReference Include="Global|PythonCore|3.6" />
2726
</ItemGroup>
2827
<ItemGroup>
2928
<Compile Include="..\Shared\config.py">
@@ -35,10 +34,7 @@
3534
</ItemGroup>
3635
<PropertyGroup>
3736
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">10.0</VisualStudioVersion>
38-
<PtvsTargetsFile>$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\Python Tools\Microsoft.PythonTools.targets</PtvsTargetsFile>
3937
</PropertyGroup>
40-
<Import Condition="Exists($(PtvsTargetsFile))" Project="$(PtvsTargetsFile)" />
41-
<Import Condition="!Exists($(PtvsTargetsFile))" Project="$(MSBuildToolsPath)\Microsoft.Common.targets" />
4238
<!-- Uncomment the CoreCompile target to enable the Build command in
4339
Visual Studio and specify your pre- and post-build commands in
4440
the BeforeBuild and AfterBuild targets below. -->
@@ -47,4 +43,5 @@
4743
</Target>
4844
<Target Name="AfterBuild">
4945
</Target>
46+
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\Python Tools\Microsoft.PythonTools.targets" />
5047
</Project>

0 commit comments

Comments
 (0)