Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
86 commits
Select commit Hold shift + click to select a range
515d97d
Create interop37.cs
den-run-ai Jul 5, 2018
37f6c8f
Update interop37.cs
den-run-ai Jul 5, 2018
77e4d2d
try faking minimal crypt.h
den-run-ai Jul 5, 2018
482d3fe
Merge branch 'master' into py37
filmor Jul 23, 2018
e8895bc
Update appveyor.yml
den-run-ai Aug 3, 2018
8b0145c
Update test_exceptions.py
den-run-ai Aug 6, 2018
049c7da
Update test_exceptions.py
den-run-ai Aug 6, 2018
279c91d
official python 3.7 on travis CI, but xenial with sudo
den-run-ai Aug 7, 2018
86579be
xenial support for mono and .netcore
den-run-ai Aug 7, 2018
e60d93e
Update .travis.yml
den-run-ai Aug 14, 2018
5ef579a
passing pthread support to clang
den-run-ai Aug 15, 2018
97c8245
force through posix threading support
den-run-ai Aug 15, 2018
ed14f3b
Update geninterop.py
den-run-ai Aug 15, 2018
5d39b50
temporary diagnostic build to check for nuget/msbuild errors in mono
den-run-ai Aug 15, 2018
98f4f84
trying out "detailed" verbosity to find out the issues with mono/msbu…
den-run-ai Aug 22, 2018
b3168cf
try one more verbosity level - "normal"
den-run-ai Aug 22, 2018
b6417ca
fixed bug of method PyString_FromString (#670)
yagweb Aug 24, 2018
80c6419
Merge branch 'master' into py37
filmor Aug 30, 2018
49467dd
Update setup.py
den-run-ai Sep 11, 2018
8a9fd73
Fix travis, work around appveyor build breaks
Oct 12, 2018
89dff06
Merge branch 'master' into py37
den-run-ai Oct 12, 2018
677281e
Added inline comment about dangers of multidomain usage
JanKrivanek Feb 12, 2018
ba0602a
Fix "from import *" after a normal import
amos402 Oct 10, 2018
67ea3eb
Add case docstring
amos402 Oct 10, 2018
c5eb4e4
Checks __dict__ in ModuleObject.LoadNames.
amos402 Oct 15, 2018
05a1451
Use individual ModuleObject variables
filmor Oct 16, 2018
784190a
Enable pythonnet to survive in the Unity3d editor environment.
Oct 12, 2018
5db2f27
Merge branch 'master' into py37
filmor Oct 18, 2018
c1a47a5
revert back nuget update
den-run-ai Oct 18, 2018
cea848e
Update setup.py
den-run-ai Oct 18, 2018
badb6ea
Update Python.Runtime.15.csproj
den-run-ai Oct 18, 2018
64c39f0
Update Python.Runtime.csproj
den-run-ai Oct 18, 2018
222874c
Update CHANGELOG.md
den-run-ai Oct 18, 2018
f121c44
Interop fix for Py_ssize_t methods (it's produces problems only on Ne…
Aug 27, 2017
e4d10d6
Use long instead of int in all places that use Py_ssize_t
filmor Oct 19, 2018
08344b7
Official python 3.7 support (#698)
filmor Oct 19, 2018
1e41038
Merge branch 'master' into py_ssize_t-fix
den-run-ai Oct 20, 2018
d9c09ea
Fixes #755
smourier Oct 22, 2018
e5d299e
Merge pull request #531 from dmitriyse/py_ssize_t-fix
filmor Oct 23, 2018
fb186e9
Merge branch 'master' into master
den-run-ai Oct 24, 2018
0195e20
Add AUTHORS and CHANGELOG entry
filmor Oct 29, 2018
2fff248
Add unit test
filmor Oct 29, 2018
2857071
Merge pull request #756 from smourier/master
den-run-ai Oct 29, 2018
3dd0446
Update setup.py
den-run-ai Nov 1, 2018
7db72b9
adding iterop37.cs to Python.Runtime.csproj and removing old TODO com…
paulie4 Nov 1, 2018
5134cbf
Merge pull request #758 from pythonnet/msbuild-fix-vs2017
den-run-ai Nov 1, 2018
3b5e34f
Merge branch 'master' into master
filmor Nov 1, 2018
3e4ebac
Merge pull request #759 from paulie4/master
den-run-ai Nov 1, 2018
45b9130
Allow user code to register for a callback on shutdown.
Oct 25, 2018
f8e147b
Document new API
Oct 30, 2018
f1084b5
Fix: do not cp System.XML on case-insensitive fs
Nov 9, 2018
af394ee
Add a few more architecture names
filmor Nov 14, 2018
b0c68e6
Runtime/Shutdown loop stores old caches and static variables. It's pr…
Aug 31, 2017
1dbf383
Added all tests finalizer routine.
Sep 2, 2017
ccd6003
Bug: Py_Initialize/Py_Finalize calls during alive PythonEngine. Fixed.
Sep 2, 2017
6a6414d
Init/Shutdown state variable (IsFinalizing) fix.
Sep 2, 2017
d3315d4
TestPythonEngineProperties fixes.
Sep 5, 2017
b2b4838
Update CHANGELOG.md
filmor Oct 16, 2018
d7f2bc8
Rename TestsSuite and add comment, remove unneeded using
filmor Oct 16, 2018
dbd5fdd
Update assemblymanager.cs
filmor Oct 29, 2018
88d61a9
Merge pull request #534 from dmitriyse/valid-engine-reset
filmor Nov 14, 2018
f90f47b
Add traceback information to exception
testrunner123 Sep 18, 2017
6befab6
Update CHANGELOG.md
testrunner123 Sep 18, 2017
57769f1
Traceback test
testrunner123 Sep 19, 2017
dd5e2b6
fix python 2.x issues
testrunner123 Sep 19, 2017
d80a8b9
Increase ref-count as documented for PyErr_Restore
filmor Nov 14, 2018
f807a81
=Avoid converting ObservableCollection<T> into python list
fdv1 Nov 11, 2018
088580d
Merge pull request #545 from testrunner123/patch-2
filmor Nov 14, 2018
5c9f035
Use GetExportedTypes where possible and filter nested types (#723)
filmor Nov 14, 2018
7765474
Fixed #449, by added initSigs as an optional parameter to PythonEngin…
rmadsen-ks Apr 5, 2017
dca4101
Fix errors and remove warnings
filmor Nov 15, 2018
62634f9
Add Changelog entry
filmor Nov 15, 2018
bf87239
Merge pull request #777 from filmor/minimal-initializeex
filmor Nov 15, 2018
e0f47ba
Convert all line endings to Unix format
filmor Nov 15, 2018
d3ca2e8
Revert changes to solution file
filmor Nov 13, 2018
3511f63
Implements Nullable support
AlexCatarino Sep 28, 2017
d24b7ee
Implements Implicit Conversion
AlexCatarino Sep 28, 2017
2a6c1aa
Adds method name to "no method matches" error
AlexCatarino Apr 2, 2018
a6f2d56
Implements System.Decimal support
AlexCatarino Sep 28, 2017
a7b169d
Fixes decimal support
AlexCatarino Apr 2, 2018
ba5c2f6
Implements System.DateTime support
AlexCatarino Sep 28, 2017
15e4f9f
Fixes UTC conversion from python datetime to managed DateTime
AlexCatarino Jul 13, 2018
349bcd7
Fixing memory leaks in the conversion of some types
Martin-Molinero Jul 20, 2018
ad8a585
Do not include timezone if DateTimeKind is Unspecified
AlexCatarino Aug 23, 2018
c5019a3
Sets the version to 1.0.5.12 to match QuantConnect's nuget one.
AlexCatarino Aug 27, 2018
1f7d308
C# decimal conversion
Martin-Molinero Jan 14, 2019
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 .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 2.4.0.dev0
current_version = 1.0.5.13
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(\.(?P<release>[a-z]+)(?P<dev>\d+))?
serialize =
{major}.{minor}.{patch}.{release}{dev}
Expand Down
39 changes: 29 additions & 10 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ matrix:
- dotnet-hostfxr-2.0.0
- dotnet-runtime-2.0.0
- dotnet-sdk-2.0.0

- python: 3.4
env: *xplat-env
addons: *xplat-addons
Expand All @@ -33,9 +34,24 @@ matrix:
- python: 3.6
env: *xplat-env
addons: *xplat-addons
- python: "3.7-dev"

- python: 3.7
env: *xplat-env
addons: *xplat-addons
dist: xenial
sudo: true
addons: &xplat-addons-xenial
apt:
sources:
- sourceline: deb [arch=amd64] https://packages.microsoft.com/repos/microsoft-ubuntu-xenial-prod xenial main
key_url: https://packages.microsoft.com/keys/microsoft.asc
- sourceline: deb https://download.mono-project.com/repo/ubuntu stable-xenial main
key_url: http://keyserver.ubuntu.com/pks/lookup?op=get&search=0xA6A19B38D3D831EF
packages:
- mono-devel
- ca-certificates-mono
- dotnet-hostfxr-2.0.0
- dotnet-runtime-2.0.0
- dotnet-sdk-2.0.0

# --------------------- Classic builds ------------------------
- python: 2.7
Expand All @@ -52,15 +68,18 @@ matrix:
- python: 3.6
env: *classic-env

- python: "3.7-dev"
env: *classic-env

allow_failures:
- python: "3.7-dev"
env: *xplat-env

- python: "3.7-dev"
- python: 3.7
env: *classic-env
dist: xenial
sudo: true
addons:
apt:
sources:
- sourceline: deb http://download.mono-project.com/repo/ubuntu xenial main
key_url: http://keyserver.ubuntu.com/pks/lookup?op=get&search=0xA6A19B38D3D831EF
packages:
- mono-devel
- ca-certificates-mono

env:
global:
Expand Down
5 changes: 5 additions & 0 deletions AUTHORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@

- Alexandre Catarino([@AlexCatarino](https://github.com/AlexCatarino))
- Arvid JB ([@ArvidJB](https://github.com/ArvidJB))
- Benoît Hudson ([@benoithudson](https://github.com/benoithudson))
- Bradley Friedman ([@leith-bartrich](https://github.com/leith-bartrich))
- Callum Noble ([@callumnoble](https://github.com/callumnoble))
- Christian Heimes ([@tiran](https://github.com/tiran))
Expand All @@ -22,10 +23,12 @@
- Daniel Fernandez ([@fdanny](https://github.com/fdanny))
- Daniel Santana ([@dgsantana](https://github.com/dgsantana))
- Dave Hirschfeld ([@dhirschfeld](https://github.com/dhirschfeld))
- David Lassonde ([@lassond](https://github.com/lassond))
- David Lechner ([@dlech](https://github.com/dlech))
- Dmitriy Se ([@dmitriyse](https://github.com/dmitriyse))
- He-chien Tsai ([@t3476](https://github.com/t3476))
-   Ivan Cronyn ([@cronan](https://github.com/cronan))
- Jan Krivanek ([@jakrivan](https://github.com/jakrivan))
-   Jeff Reback ([@jreback](https://github.com/jreback))
- Joe Frayne ([@jfrayne](https://github.com/jfrayne))
- John Burnett ([@johnburnett](https://github.com/johnburnett))
Expand All @@ -39,6 +42,8 @@
- Sam Winstanley ([@swinstanley](https://github.com/swinstanley))
- Sean Freitag ([@cowboygneox](https://github.com/cowboygneox))
- Serge Weinstock ([@sweinst](https://github.com/sweinst))
- Simon Mourier ([@smourier](https://github.com/smourier))
- Viktoria Kovescses ([@vkovec](https://github.com/vkovec))
- Ville M. Vainio ([@vivainio](https://github.com/vivainio))
- Virgil Dupras ([@hsoft](https://github.com/hsoft))
- Wenguang Yang ([@yagweb](https://github.com/yagweb))
Expand Down
20 changes: 20 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,23 +8,35 @@ This document follows the conventions laid out in [Keep a CHANGELOG][].
## [unreleased][]

### Added

- Added support for embedding python into dotnet core 2.0 (NetStandard 2.0)
- Added new build system (pythonnet.15.sln) based on dotnetcore-sdk/xplat(crossplatform msbuild).
Currently there two side-by-side build systems that produces the same output (net40) from the same sources.
After a some transition time, current (mono/ msbuild 14.0) build system will be removed.
- NUnit upgraded to 3.7 (eliminates travis-ci random bug)
- Added C# `PythonEngine.AddShutdownHandler` to help client code clean up on shutdown.
- Added `clr.GetClrType` ([#432][i432])([#433][p433])
- Allowed passing `None` for nullable args ([#460][p460])
- Added keyword arguments based on C# syntax for calling CPython methods ([#461][p461])
- Catches exceptions thrown in C# iterators (yield returns) and rethrows them in python ([#475][i475])([#693][p693])
- Implemented GetDynamicMemberNames() for PyObject to allow dynamic object members to be visible in the debugger ([#443][i443])([#690][p690])
- Incorporated reference-style links to issues and pull requests in the CHANGELOG ([#608][i608])
- Added detailed comments about aproaches and dangers to handle multi-app-domains ([#625][p625])
- Python 3.7 support, builds and testing added. Defaults changed from Python 3.6 to 3.7 ([#698][p698])

### Changed

- Reattach python exception traceback information (#545)
- PythonEngine.Intialize will now call `Py_InitializeEx` with a default value of 0, so signals will not be configured by default on embedding. This is different from the previous behaviour, where `Py_Initialize` was called instead, which sets initSigs to 1. ([#449][i449])

### Fixed

- Fixed secondary PythonEngine.Initialize call, all sensitive static variables now reseted.
This is a hidden bug. Once python cleaning up enough memory, objects from previous engine run becomes corrupted. ([#534][p534])
- Fixed Visual Studio 2017 compat ([#434][i434]) for setup.py
- Fixed crashes when integrating pythonnet in Unity3d ([#714][i714]),
related to unloading the Application Domain
- Fixed interop methods with Py_ssize_t. NetCoreApp 2.0 is more sensitive than net40 and requires this fix. ([#531][p531])
- Fixed crash on exit of the Python interpreter if a python class
derived from a .NET class has a `__namespace__` or `__assembly__`
attribute ([#481][i481])
Expand All @@ -36,6 +48,8 @@ This document follows the conventions laid out in [Keep a CHANGELOG][].
- Fixed errors breaking .NET Remoting on method invoke ([#276][i276])
- Fixed PyObject.GetHashCode ([#676][i676])
- Fix memory leaks due to spurious handle incrementation ([#691][i691])
- Fix spurious assembly loading exceptions from private types ([#703][i703])
- Fix inheritance of non-abstract base methods ([#755][i755])


## [2.3.0][] - 2017-03-11
Expand Down Expand Up @@ -593,6 +607,7 @@ This document follows the conventions laid out in [Keep a CHANGELOG][].

[1.0.0]: https://github.com/pythonnet/pythonnet/releases/tag/1.0

[i714]: https://github.com/pythonnet/pythonnet/issues/714
[i608]: https://github.com/pythonnet/pythonnet/issues/608
[i443]: https://github.com/pythonnet/pythonnet/issues/443
[p690]: https://github.com/pythonnet/pythonnet/pull/690
Expand Down Expand Up @@ -683,4 +698,9 @@ This document follows the conventions laid out in [Keep a CHANGELOG][].
[p225]: https://github.com/pythonnet/pythonnet/pull/225
[p78]: https://github.com/pythonnet/pythonnet/pull/78
[p163]: https://github.com/pythonnet/pythonnet/pull/163
[p625]: https://github.com/pythonnet/pythonnet/pull/625
[i131]: https://github.com/pythonnet/pythonnet/issues/131
[p531]: https://github.com/pythonnet/pythonnet/pull/531
[i755]: https://github.com/pythonnet/pythonnet/pull/755
[p534]: https://github.com/pythonnet/pythonnet/pull/534
[i449]: https://github.com/pythonnet/pythonnet/issues/449
2 changes: 1 addition & 1 deletion NuGet.config
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<add key="dot-net MyGet Feed" value="https://dotnet.myget.org/F/dotnet-core/api/v3/index.json" protocolVersion="3"/>
Expand Down
9 changes: 9 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,19 @@ environment:
BUILD_OPTS: --xplat
- PYTHON_VERSION: 3.6
BUILD_OPTS: --xplat
- PYTHON_VERSION: 3.7
BUILD_OPTS: --xplat
- PYTHON_VERSION: 2.7
- PYTHON_VERSION: 3.4
- PYTHON_VERSION: 3.5
- PYTHON_VERSION: 3.6
- PYTHON_VERSION: 3.7

matrix:
allow_failures:
- PYTHON_VERSION: 3.4
BUILD_OPTS: --xplat
- PYTHON_VERSION: 3.4

init:
# Update Environment Variables based on matrix/platform
Expand Down
2 changes: 1 addition & 1 deletion conda.recipe/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package:
name: pythonnet
version: "2.4.0.dev0"
version: "1.0.5.13"

build:
skip: True # [not win]
Expand Down
19 changes: 13 additions & 6 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
# Allow config/verbosity to be set from cli
# http://stackoverflow.com/a/4792601/5208670
CONFIG = "Release" # Release or Debug
VERBOSITY = "minimal" # quiet, minimal, normal, detailed, diagnostic
VERBOSITY = "normal" # quiet, minimal, normal, detailed, diagnostic

is_64bits = sys.maxsize > 2**32
DEVTOOLS = "MsDev" if sys.platform == "win32" else "Mono"
Expand Down Expand Up @@ -329,9 +329,16 @@ def _install_packages(self):
self.debug_print("Updating NuGet: {0}".format(cmd))
subprocess.check_call(cmd, shell=use_shell)

cmd = "{0} restore pythonnet.sln -o packages".format(nuget)
self.debug_print("Installing packages: {0}".format(cmd))
subprocess.check_call(cmd, shell=use_shell)
try:
# msbuild=14 is mainly for Mono issues
cmd = "{0} restore pythonnet.sln -MSBuildVersion 14 -o packages".format(nuget)
self.debug_print("Installing packages: {0}".format(cmd))
subprocess.check_call(cmd, shell=use_shell)
except:
# when only VS 2017 is installed do not specify msbuild version
cmd = "{0} restore pythonnet.sln -o packages".format(nuget)
self.debug_print("Installing packages: {0}".format(cmd))
subprocess.check_call(cmd, shell=use_shell)

def _find_msbuild_tool(self, tool="msbuild.exe", use_windows_sdk=False):
"""Return full path to one of the Microsoft build tools"""
Expand Down Expand Up @@ -485,7 +492,7 @@ def run(self):

setup(
name="pythonnet",
version="2.4.0.dev0",
version="1.0.5.13",
description=".Net and Mono integration for Python",
url='https://pythonnet.github.io/',
license='MIT',
Expand Down Expand Up @@ -516,10 +523,10 @@ def run(self):
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Operating System :: Microsoft :: Windows',
'Operating System :: POSIX :: Linux',
'Operating System :: MacOS :: MacOS X',
Expand Down
2 changes: 1 addition & 1 deletion src/SharedAssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@
// Version Information. Keeping it simple. May need to revisit for Nuget
// See: https://codingforsmarties.wordpress.com/2016/01/21/how-to-version-assemblies-destined-for-nuget/
// AssemblyVersion can only be numeric
[assembly: AssemblyVersion("2.4.0")]
[assembly: AssemblyVersion("1.0.5.13")]
2 changes: 1 addition & 1 deletion src/clrmodule/ClrModule.cs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public static void initclr()
{
#if USE_PYTHON_RUNTIME_VERSION
// Has no effect until SNK works. Keep updated anyways.
Version = new Version("2.4.0"),
Version = new Version("1.0.5.12"),
#endif
CultureInfo = CultureInfo.InvariantCulture
};
Expand Down
21 changes: 21 additions & 0 deletions src/embed_tests/GlobalTestsSetup.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
using NUnit.Framework;
using Python.Runtime;

namespace Python.EmbeddingTest
{

// As the SetUpFixture, the OneTimeTearDown of this class is executed after
// all tests have run.
[SetUpFixture]
public class GlobalTestsSetup
{
[OneTimeTearDown]
public void FinalCleanup()
{
if (PythonEngine.IsInitialized)
{
PythonEngine.Shutdown();
}
}
}
}
1 change: 1 addition & 0 deletions src/embed_tests/Python.EmbeddingTest.15.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
<BaseDefineConstants>XPLAT</BaseDefineConstants>
<DefineConstants>$(DefineConstants);$(CustomDefineConstants);$(BaseDefineConstants);</DefineConstants>
<DefineConstants Condition="'$(TargetFramework)'=='netcoreapp2.0'">$(DefineConstants);NETCOREAPP</DefineConstants>
<DefineConstants Condition="'$(TargetFramework)'=='netstandard2.0'">$(DefineConstants);NETSTANDARD</DefineConstants>
<DefineConstants Condition="'$(BuildingInsideVisualStudio)' == 'true' AND '$(CustomDefineConstants)' != '' AND $(Configuration.Contains('Debug'))">$(DefineConstants);TRACE;DEBUG</DefineConstants>
<FrameworkPathOverride Condition="'$(TargetFramework)'=='net40' AND $(Configuration.Contains('Mono'))">$(NuGetPackageRoot)\microsoft.targetingpack.netframework.v4.5\1.0.1\lib\net45\</FrameworkPathOverride>
</PropertyGroup>
Expand Down
7 changes: 5 additions & 2 deletions src/embed_tests/Python.EmbeddingTest.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
Expand Down Expand Up @@ -86,6 +86,7 @@
<Compile Include="pyrunstring.cs" />
<Compile Include="TestConverter.cs" />
<Compile Include="TestCustomMarshal.cs" />
<Compile Include="TestDomainReload.cs" />
<Compile Include="TestExample.cs" />
<Compile Include="TestPyAnsiString.cs" />
<Compile Include="TestPyFloat.cs" />
Expand All @@ -103,6 +104,8 @@
<Compile Include="TestPyWith.cs" />
<Compile Include="TestRuntime.cs" />
<Compile Include="TestPyScope.cs" />
<Compile Include="TestTypeManager.cs" />
<Compile Include="GlobalTestsSetup.cs" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\runtime\Python.Runtime.csproj">
Expand All @@ -122,4 +125,4 @@
<Copy SourceFiles="$(TargetAssembly)" DestinationFolder="$(PythonBuildDir)" />
<!--Copy SourceFiles="$(TargetAssemblyPdb)" Condition="Exists('$(TargetAssemblyPdb)')" DestinationFolder="$(PythonBuildDir)" /-->
</Target>
</Project>
</Project>
2 changes: 1 addition & 1 deletion src/embed_tests/TestConverter.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using NUnit.Framework;
using NUnit.Framework;
using Python.Runtime;

namespace Python.EmbeddingTest
Expand Down
Loading