🌐 AI搜索 & 代理 主页
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ trim_trailing_whitespace = true
indent_size = 2

# Xml project files
[*.{csproj,config,build,config}]
[*.{csproj,pyproj,config}]
indent_size = 2

# Solution
Expand Down
23 changes: 10 additions & 13 deletions src/tests/tests.pyproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<ProjectGuid>{250c535c-c060-4f0c-bd80-41f2bf373565}</ProjectGuid>
<ProjectHome />
<StartupFile>runtests.py</StartupFile>
<SearchPath />
<SearchPath>..\..\</SearchPath>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

whats this do?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This adds root folder of pythonnet to search paths. Helps when building with --inplace option.

<WorkingDirectory>.</WorkingDirectory>
<OutputPath>.</OutputPath>
<ProjectTypeGuids>{888888a0-9f3d-457c-b088-3a5042f75d52}</ProjectTypeGuids>
Expand All @@ -27,17 +27,17 @@
<PtvsTargetsFile>$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\Python Tools\Microsoft.PythonTools.targets</PtvsTargetsFile>
</PropertyGroup>
<ItemGroup>
<Compile Include="__init__.py" />
<Compile Include="_compat.py" />
<Compile Include="_missing_import.py" />
<Compile Include="leaktest.py" />
<Compile Include="profile.py" />
<Compile Include="PyImportTest\sysargv.py" />
<Compile Include="PyImportTest\test\one.py" />
<Compile Include="PyImportTest\test\__init__.py" />
<Compile Include="PyImportTest\__init__.py" />
<Compile Include="runtests.py" />
<Compile Include="stress.py" />
<Compile Include="stresstest.py" />
<Compile Include="test_sysargv.py" />
<Compile Include="test_array.py" />
<Compile Include="test_callback.py" />
<Compile Include="test_class.py" />
<Compile Include="test_compat.py" />
<Compile Include="test_constructors.py" />
Expand All @@ -50,23 +50,20 @@
<Compile Include="test_exceptions.py" />
<Compile Include="test_field.py" />
<Compile Include="test_generic.py" />
<Compile Include="test_import.py" />
<Compile Include="test_indexer.py" />
<Compile Include="test_interface.py" />
<Compile Include="test_method.py" />
<Compile Include="test_module.py" />
<Compile Include="test_property.py" />
<Compile Include="test_recursive_types.py" />
<Compile Include="test_subclass.py" />
<Compile Include="test_suite\test_callback.py" />
<Compile Include="test_suite\test_import.py" />
<Compile Include="test_suite\test_recursive_types.py" />
<Compile Include="test_suite\_missing_import.py" />
<Compile Include="test_suite\__init__.py" />
<Compile Include="test_thread.py" />
<Compile Include="utils.py" />
<Compile Include="fixtures\argv-fixture.py" />
</ItemGroup>
<ItemGroup>
<Folder Include="PyImportTest" />
<Folder Include="PyImportTest\test" />
<Folder Include="test_suite" />
<Folder Include="fixtures" />
</ItemGroup>
<Import Project="$(PtvsTargetsFile)" Condition="Exists($(PtvsTargetsFile))" />
<Import Project="$(MSBuildToolsPath)\Microsoft.Common.targets" Condition="!Exists($(PtvsTargetsFile))" />
Expand Down