pythonnet 3.1.0rc0__tar.gz → 3.1.0rc1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/AUTHORS.md +2 -1
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/Directory.Build.props +8 -3
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/MANIFEST.in +1 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/PKG-INFO +3 -5
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/pyproject.toml +13 -6
- pythonnet-3.1.0rc1/pythonnet/_pyinstaller/__init__.py +4 -0
- pythonnet-3.1.0rc1/pythonnet/_pyinstaller/hook-clr.py +9 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/pythonnet.egg-info/PKG-INFO +3 -5
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/pythonnet.egg-info/SOURCES.txt +24 -0
- pythonnet-3.1.0rc1/pythonnet.egg-info/entry_points.txt +2 -0
- pythonnet-3.1.0rc1/pythonnet.egg-info/requires.txt +1 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/setup.py +41 -13
- pythonnet-3.1.0rc1/src/compat/Python.Runtime.Compat.csproj +13 -0
- pythonnet-3.1.0rc1/src/compat/obj/Python.Runtime.Compat.csproj.nuget.dgspec.json +165 -0
- pythonnet-3.1.0rc1/src/compat/obj/Python.Runtime.Compat.csproj.nuget.g.props +18 -0
- pythonnet-3.1.0rc1/src/compat/obj/Python.Runtime.Compat.csproj.nuget.g.targets +6 -0
- pythonnet-3.1.0rc1/src/compat/obj/project.assets.json +825 -0
- pythonnet-3.1.0rc1/src/compat/obj/project.nuget.cache +14 -0
- pythonnet-3.1.0rc1/src/compat/obj/release/net461/Python.R.6D0CE4F8.Up2Date +0 -0
- pythonnet-3.1.0rc1/src/compat/obj/release/net461/Python.Runtime.Compat.AssemblyInfo.cs +22 -0
- pythonnet-3.1.0rc1/src/compat/obj/release/net461/Python.Runtime.Compat.AssemblyInfoInputs.cache +1 -0
- pythonnet-3.1.0rc1/src/compat/obj/release/net461/Python.Runtime.Compat.GeneratedMSBuildEditorConfig.editorconfig +8 -0
- pythonnet-3.1.0rc1/src/compat/obj/release/net461/Python.Runtime.Compat.assets.cache +0 -0
- pythonnet-3.1.0rc1/src/compat/obj/release/net461/Python.Runtime.Compat.csproj.AssemblyReference.cache +0 -0
- pythonnet-3.1.0rc1/src/compat/obj/release/net461/Python.Runtime.Compat.csproj.CoreCompileInputs.cache +1 -0
- pythonnet-3.1.0rc1/src/compat/obj/release/net461/Python.Runtime.Compat.csproj.FileListAbsolute.txt +7 -0
- pythonnet-3.1.0rc1/src/compat/obj/release/net461/Python.Runtime.Compat.dll +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/InteropConfiguration.cs +1 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/Loader.cs +23 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/Mixins/CollectionMixinsProvider.cs +6 -0
- pythonnet-3.1.0rc1/src/runtime/Mixins/DynamicObjectMixinsProvider.cs +47 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/Mixins/collections.py +16 -0
- pythonnet-3.1.0rc1/src/runtime/Mixins/dlr.py +18 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/Native/CustomMarshaler.cs +4 -21
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/Python.Runtime.csproj +2 -2
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/PythonEngine.cs +7 -7
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/PythonTypes/PyFloat.cs +2 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/PythonTypes/PyInt.cs +2 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/PythonTypes/PyObject.cs +6 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/PythonTypes/PyType.cs +6 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/TypeManager.cs +192 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/Types/ClassDerived.cs +37 -0
- pythonnet-3.1.0rc1/src/runtime/Types/DynamicObjectMemberAccessor.cs +203 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/Types/ExtensionType.cs +10 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/Types/MethodBinding.cs +12 -8
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/Types/MethodObject.cs +1 -1
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/Types/ModuleObject.cs +14 -12
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/Types/OverloadMapper.cs +12 -3
- pythonnet-3.1.0rc1/src/runtime/Util/ConcurrentLruCache.cs +103 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/Util/ReflectionPolyfills.cs +1 -1
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/tests/test_array.py +3 -4
- pythonnet-3.1.0rc1/tests/test_disposable.py +111 -0
- pythonnet-3.1.0rc1/tests/test_dynamic.py +218 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/tests/test_field.py +0 -1
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/tests/test_import.py +5 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/tests/test_method.py +129 -101
- pythonnet-3.1.0rc1/version.txt +1 -0
- pythonnet-3.1.0rc0/pythonnet.egg-info/requires.txt +0 -1
- pythonnet-3.1.0rc0/version.txt +0 -1
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/LICENSE +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/README.rst +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/clr.py +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/pythonnet/__init__.py +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/pythonnet.egg-info/dependency_links.txt +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/pythonnet.egg-info/not-zip-safe +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/pythonnet.egg-info/top_level.txt +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/pythonnet.sln +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/setup.cfg +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/pythonnet.snk +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/AssemblyManager.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/ClassManager.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/Codecs/DecoderGroup.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/Codecs/EncoderGroup.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/Codecs/EnumPyIntCodec.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/Codecs/IPyObjectDecoder.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/Codecs/IPyObjectEncoder.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/Codecs/IterableDecoder.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/Codecs/ListDecoder.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/Codecs/PyObjectConversions.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/Codecs/RawProxyEncoder.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/Codecs/SequenceDecoder.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/Codecs/TupleCodecs.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/CollectionWrappers/IterableWrapper.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/CollectionWrappers/ListWrapper.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/CollectionWrappers/SequenceWrapper.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/Converter.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/DefaultBaseTypeProvider.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/DelegateManager.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/Exceptions.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/Finalizer.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/IPythonBaseTypeProvider.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/ImportHook.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/Interfaces.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/InternString.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/InternalPythonnetException.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/Interop.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/MethodBinder.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/Native/ABI.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/Native/BorrowedReference.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/Native/GeneratedTypeOffsets.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/Native/ITypeOffsets.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/Native/LibDL.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/Native/LibraryLoader.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/Native/NativeCall.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/Native/NativeFunc.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/Native/NativeTypeSpec.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/Native/NewReference.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/Native/PyBufferInterface.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/Native/PyCompilerFlags.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/Native/PyGILState.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/Native/PyIdentifier_.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/Native/PyIdentifier_.tt +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/Native/PyInterpreterState.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/Native/PyMemberFlags.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/Native/PyMemberType.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/Native/PyMethodFlags.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/Native/PyThreadState.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/Native/ReferenceExtensions.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/Native/StolenReference.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/Native/StrPtr.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/Native/TypeOffset.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/Native/TypeOffset310.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/Native/TypeOffset311.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/Native/TypeOffset312.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/Native/TypeOffset313.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/Native/TypeOffset314.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/Properties/AssemblyInfo.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/Py.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/PyExportAttribute.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/PythonBaseTypeProviderGroup.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/PythonException.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/PythonTypes/PyBuffer.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/PythonTypes/PyDict.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/PythonTypes/PyFloat.IComparable.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/PythonTypes/PyInt.IComparable.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/PythonTypes/PyIter.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/PythonTypes/PyIterable.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/PythonTypes/PyList.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/PythonTypes/PyModule.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/PythonTypes/PyNumber.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/PythonTypes/PyObject.IConvertible.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/PythonTypes/PySequence.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/PythonTypes/PyString.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/PythonTypes/PyTuple.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/PythonTypes/TypeSpec.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/README.md +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/Resources/clr.py +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/Resources/interop.py +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/Runtime.Delegates.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/Runtime.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/RuntimeState.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/StateSerialization/CLRMappedItem.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/StateSerialization/CLRWrapperCollection.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/StateSerialization/ClassManagerState.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/StateSerialization/ICLRObjectStorer.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/StateSerialization/ImportHookState.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/StateSerialization/MaybeMemberInfo.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/StateSerialization/MaybeMethodBase.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/StateSerialization/MaybeType.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/StateSerialization/MetatypeState.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/StateSerialization/NoopFormatter.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/StateSerialization/PythonNetState.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/StateSerialization/RuntimeData.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/StateSerialization/SharedObjectsState.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/StateSerialization/TypeManagerState.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/StateSerialization/UnloadedClass.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/Types/ArrayObject.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/Types/ClassBase.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/Types/ClassObject.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/Types/ClrModule.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/Types/ClrObject.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/Types/DelegateObject.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/Types/EventBinding.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/Types/EventObject.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/Types/ExceptionClassObject.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/Types/FieldObject.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/Types/GenericType.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/Types/Indexer.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/Types/InterfaceObject.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/Types/Iterator.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/Types/ManagedType.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/Types/ManagedTypes.cd +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/Types/MetaType.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/Types/ModuleFunctionObject.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/Types/ModulePropertyObject.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/Types/MpLengthSlot.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/Types/OperatorMethod.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/Types/PropertyObject.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/Types/ReflectedClrType.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/Types/UnsafeReferenceWithRun.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/Util/CodeGenerator.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/Util/DebugUtil.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/Util/Encodings.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/Util/EventHandlerCollection.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/Util/GenericUtil.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/Util/InitOnly.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/Util/NonCopyableAttribute.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/Util/NullOnly.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/Util/OpsHelper.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/Util/ParameterHelper.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/Util/PythonEnvironment.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/Util/PythonReferenceComparer.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/Util/ReflectionUtil.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/src/runtime/Util/Util.cs +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/tests/test_callback.py +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/tests/test_class.py +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/tests/test_clrmethod.py +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/tests/test_codec.py +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/tests/test_collection_mixins.py +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/tests/test_constructors.py +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/tests/test_conversion.py +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/tests/test_delegate.py +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/tests/test_docstring.py +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/tests/test_engine.py +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/tests/test_enum.py +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/tests/test_event.py +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/tests/test_exceptions.py +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/tests/test_generic.py +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/tests/test_indexer.py +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/tests/test_interface.py +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/tests/test_module.py +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/tests/test_mp_length.py +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/tests/test_property.py +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/tests/test_recursive_types.py +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/tests/test_repr.py +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/tests/test_subclass.py +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/tests/test_sysargv.py +0 -0
- {pythonnet-3.1.0rc0 → pythonnet-3.1.0rc1}/tests/test_thread.py +0 -0
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
- Barton Cline ([@BartonCline](https://github.com/BartonCline))
|
|
10
10
|
- Brian Lloyd ([@brianlloyd](https://github.com/brianlloyd))
|
|
11
11
|
- David Anthoff ([@davidanthoff](https://github.com/davidanthoff))
|
|
12
|
-
- Denis Akhiyarov ([@
|
|
12
|
+
- Denis Akhiyarov ([@den-run-ai](https://github.com/den-run-ai))
|
|
13
13
|
- Tony Roberts ([@tonyroberts](https://github.com/tonyroberts))
|
|
14
14
|
- Victor Uriarte ([@vmuriart](https://github.com/vmuriart))
|
|
15
15
|
|
|
@@ -89,3 +89,4 @@
|
|
|
89
89
|
- Ehsan Iran-Nejad ([@eirannejad](https://github.com/eirannejad))
|
|
90
90
|
- ([@legomanww](https://github.com/legomanww))
|
|
91
91
|
- ([@gertdreyer](https://github.com/gertdreyer))
|
|
92
|
+
- Kerbiter ([@Metadorius](https://github.com/Metadorius))
|
|
@@ -4,16 +4,21 @@
|
|
|
4
4
|
<AssemblyCopyright>Copyright (c) 2006-2025 The Contributors of the Python.NET Project</AssemblyCopyright>
|
|
5
5
|
<AssemblyCompany>pythonnet</AssemblyCompany>
|
|
6
6
|
<AssemblyProduct>Python.NET</AssemblyProduct>
|
|
7
|
-
<LangVersion>
|
|
7
|
+
<LangVersion>14</LangVersion>
|
|
8
8
|
<IsPackable>false</IsPackable>
|
|
9
|
+
<DeterministicSourcePaths>true</DeterministicSourcePaths>
|
|
9
10
|
<FullVersion>$([System.IO.File]::ReadAllText("$(MSBuildThisFileDirectory)version.txt").Trim())</FullVersion>
|
|
10
11
|
<VersionPrefix>$(FullVersion.Split('-', 2)[0])</VersionPrefix>
|
|
11
12
|
<VersionSuffix Condition="$(FullVersion.Contains('-'))">$(FullVersion.Split('-', 2)[1])</VersionSuffix>
|
|
12
13
|
<RepositoryRoot>$(MSBuildThisFileDirectory)</RepositoryRoot>
|
|
13
14
|
</PropertyGroup>
|
|
15
|
+
<PropertyGroup Condition="'$(Configuration)'=='Release'">
|
|
16
|
+
<DebugSymbols>False</DebugSymbols>
|
|
17
|
+
<DebugType>None</DebugType>
|
|
18
|
+
</PropertyGroup>
|
|
14
19
|
<ItemGroup>
|
|
15
|
-
<PackageReference Include="Microsoft.CSharp" Version="4
|
|
16
|
-
<PackageReference Include="Microsoft.Net.Compilers.Toolset" Version="
|
|
20
|
+
<PackageReference Include="Microsoft.CSharp" Version="4.*" />
|
|
21
|
+
<PackageReference Include="Microsoft.Net.Compilers.Toolset" Version="5.*">
|
|
17
22
|
<PrivateAssets>all</PrivateAssets>
|
|
18
23
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
|
|
19
24
|
</PackageReference>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pythonnet
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.0rc1
|
|
4
4
|
Summary: .NET and Mono integration for Python
|
|
5
5
|
Author-email: "The Contributors of the Python.NET Project" <pythonnet@python.org>
|
|
6
6
|
License-Expression: MIT
|
|
@@ -10,13 +10,11 @@ Classifier: Development Status :: 5 - Production/Stable
|
|
|
10
10
|
Classifier: Intended Audience :: Developers
|
|
11
11
|
Classifier: Programming Language :: C#
|
|
12
12
|
Classifier: Programming Language :: Python :: 3
|
|
13
|
-
Classifier: Programming Language :: Python :: 3.7
|
|
14
|
-
Classifier: Programming Language :: Python :: 3.8
|
|
15
|
-
Classifier: Programming Language :: Python :: 3.9
|
|
16
13
|
Classifier: Programming Language :: Python :: 3.10
|
|
17
14
|
Classifier: Programming Language :: Python :: 3.11
|
|
18
15
|
Classifier: Programming Language :: Python :: 3.12
|
|
19
16
|
Classifier: Programming Language :: Python :: 3.13
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
20
18
|
Classifier: Operating System :: Microsoft :: Windows
|
|
21
19
|
Classifier: Operating System :: POSIX :: Linux
|
|
22
20
|
Classifier: Operating System :: MacOS :: MacOS X
|
|
@@ -24,7 +22,7 @@ Requires-Python: <3.15,>=3.10
|
|
|
24
22
|
Description-Content-Type: text/x-rst
|
|
25
23
|
License-File: LICENSE
|
|
26
24
|
License-File: AUTHORS.md
|
|
27
|
-
Requires-Dist: clr_loader<0.
|
|
25
|
+
Requires-Dist: clr_loader<0.4.0,>=0.3.1
|
|
28
26
|
Dynamic: license-file
|
|
29
27
|
|
|
30
28
|
pythonnet - Python.NET
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
[build-system]
|
|
2
|
-
requires = ["setuptools>=80"]
|
|
2
|
+
requires = ["setuptools>=80", "packaging>=24", "pyproject-parser>=0.14"]
|
|
3
3
|
build-backend = "setuptools.build_meta"
|
|
4
4
|
|
|
5
5
|
[project]
|
|
@@ -10,7 +10,7 @@ license = "MIT"
|
|
|
10
10
|
readme = "README.rst"
|
|
11
11
|
|
|
12
12
|
dependencies = [
|
|
13
|
-
"clr_loader>=0.
|
|
13
|
+
"clr_loader>=0.3.1,<0.4.0"
|
|
14
14
|
]
|
|
15
15
|
|
|
16
16
|
requires-python = ">=3.10, <3.15"
|
|
@@ -20,13 +20,11 @@ classifiers = [
|
|
|
20
20
|
"Intended Audience :: Developers",
|
|
21
21
|
"Programming Language :: C#",
|
|
22
22
|
"Programming Language :: Python :: 3",
|
|
23
|
-
"Programming Language :: Python :: 3.7",
|
|
24
|
-
"Programming Language :: Python :: 3.8",
|
|
25
|
-
"Programming Language :: Python :: 3.9",
|
|
26
23
|
"Programming Language :: Python :: 3.10",
|
|
27
24
|
"Programming Language :: Python :: 3.11",
|
|
28
25
|
"Programming Language :: Python :: 3.12",
|
|
29
26
|
"Programming Language :: Python :: 3.13",
|
|
27
|
+
"Programming Language :: Python :: 3.14",
|
|
30
28
|
"Operating System :: Microsoft :: Windows",
|
|
31
29
|
"Operating System :: POSIX :: Linux",
|
|
32
30
|
"Operating System :: MacOS :: MacOS X",
|
|
@@ -40,7 +38,13 @@ dev = [
|
|
|
40
38
|
"find_libpython >= 0.3",
|
|
41
39
|
"numpy >=2 ; python_version >= '3.10'",
|
|
42
40
|
"numpy <2 ; python_version < '3.10'",
|
|
43
|
-
|
|
41
|
+
]
|
|
42
|
+
doc = [
|
|
43
|
+
"sphinx",
|
|
44
|
+
"furo>=2025.12.19",
|
|
45
|
+
"pygments>=2.20",
|
|
46
|
+
"breathe",
|
|
47
|
+
"sphinx-csharp @ git+https://github.com/rogerbarton/sphinx-csharp.git",
|
|
44
48
|
]
|
|
45
49
|
|
|
46
50
|
[[project.authors]]
|
|
@@ -51,6 +55,9 @@ email = "pythonnet@python.org"
|
|
|
51
55
|
Homepage = "https://pythonnet.github.io/"
|
|
52
56
|
Sources = "https://github.com/pythonnet/pythonnet"
|
|
53
57
|
|
|
58
|
+
[project.entry-points.pyinstaller40]
|
|
59
|
+
hook-dirs = "pythonnet._pyinstaller:get_hook_dirs"
|
|
60
|
+
|
|
54
61
|
[tool.setuptools]
|
|
55
62
|
zip-safe = false
|
|
56
63
|
py-modules = ["clr"]
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
from PyInstaller.utils.hooks import collect_data_files, collect_dynamic_libs
|
|
2
|
+
|
|
3
|
+
try:
|
|
4
|
+
binaries = collect_dynamic_libs("pythonnet")
|
|
5
|
+
datas = collect_data_files("pythonnet")
|
|
6
|
+
except Exception:
|
|
7
|
+
# name conflict with https://pypi.org/project/clr/, do not crash if just clr is present
|
|
8
|
+
binaries = []
|
|
9
|
+
datas = []
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pythonnet
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.0rc1
|
|
4
4
|
Summary: .NET and Mono integration for Python
|
|
5
5
|
Author-email: "The Contributors of the Python.NET Project" <pythonnet@python.org>
|
|
6
6
|
License-Expression: MIT
|
|
@@ -10,13 +10,11 @@ Classifier: Development Status :: 5 - Production/Stable
|
|
|
10
10
|
Classifier: Intended Audience :: Developers
|
|
11
11
|
Classifier: Programming Language :: C#
|
|
12
12
|
Classifier: Programming Language :: Python :: 3
|
|
13
|
-
Classifier: Programming Language :: Python :: 3.7
|
|
14
|
-
Classifier: Programming Language :: Python :: 3.8
|
|
15
|
-
Classifier: Programming Language :: Python :: 3.9
|
|
16
13
|
Classifier: Programming Language :: Python :: 3.10
|
|
17
14
|
Classifier: Programming Language :: Python :: 3.11
|
|
18
15
|
Classifier: Programming Language :: Python :: 3.12
|
|
19
16
|
Classifier: Programming Language :: Python :: 3.13
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
20
18
|
Classifier: Operating System :: Microsoft :: Windows
|
|
21
19
|
Classifier: Operating System :: POSIX :: Linux
|
|
22
20
|
Classifier: Operating System :: MacOS :: MacOS X
|
|
@@ -24,7 +22,7 @@ Requires-Python: <3.15,>=3.10
|
|
|
24
22
|
Description-Content-Type: text/x-rst
|
|
25
23
|
License-File: LICENSE
|
|
26
24
|
License-File: AUTHORS.md
|
|
27
|
-
Requires-Dist: clr_loader<0.
|
|
25
|
+
Requires-Dist: clr_loader<0.4.0,>=0.3.1
|
|
28
26
|
Dynamic: license-file
|
|
29
27
|
|
|
30
28
|
pythonnet - Python.NET
|
|
@@ -12,10 +12,28 @@ pythonnet/__init__.py
|
|
|
12
12
|
pythonnet.egg-info/PKG-INFO
|
|
13
13
|
pythonnet.egg-info/SOURCES.txt
|
|
14
14
|
pythonnet.egg-info/dependency_links.txt
|
|
15
|
+
pythonnet.egg-info/entry_points.txt
|
|
15
16
|
pythonnet.egg-info/not-zip-safe
|
|
16
17
|
pythonnet.egg-info/requires.txt
|
|
17
18
|
pythonnet.egg-info/top_level.txt
|
|
19
|
+
pythonnet/_pyinstaller/__init__.py
|
|
20
|
+
pythonnet/_pyinstaller/hook-clr.py
|
|
18
21
|
src/pythonnet.snk
|
|
22
|
+
src/compat/Python.Runtime.Compat.csproj
|
|
23
|
+
src/compat/obj/Python.Runtime.Compat.csproj.nuget.dgspec.json
|
|
24
|
+
src/compat/obj/Python.Runtime.Compat.csproj.nuget.g.props
|
|
25
|
+
src/compat/obj/Python.Runtime.Compat.csproj.nuget.g.targets
|
|
26
|
+
src/compat/obj/project.assets.json
|
|
27
|
+
src/compat/obj/project.nuget.cache
|
|
28
|
+
src/compat/obj/release/net461/Python.R.6D0CE4F8.Up2Date
|
|
29
|
+
src/compat/obj/release/net461/Python.Runtime.Compat.AssemblyInfo.cs
|
|
30
|
+
src/compat/obj/release/net461/Python.Runtime.Compat.AssemblyInfoInputs.cache
|
|
31
|
+
src/compat/obj/release/net461/Python.Runtime.Compat.GeneratedMSBuildEditorConfig.editorconfig
|
|
32
|
+
src/compat/obj/release/net461/Python.Runtime.Compat.assets.cache
|
|
33
|
+
src/compat/obj/release/net461/Python.Runtime.Compat.csproj.AssemblyReference.cache
|
|
34
|
+
src/compat/obj/release/net461/Python.Runtime.Compat.csproj.CoreCompileInputs.cache
|
|
35
|
+
src/compat/obj/release/net461/Python.Runtime.Compat.csproj.FileListAbsolute.txt
|
|
36
|
+
src/compat/obj/release/net461/Python.Runtime.Compat.dll
|
|
19
37
|
src/runtime/AssemblyManager.cs
|
|
20
38
|
src/runtime/ClassManager.cs
|
|
21
39
|
src/runtime/Converter.cs
|
|
@@ -58,7 +76,9 @@ src/runtime/CollectionWrappers/IterableWrapper.cs
|
|
|
58
76
|
src/runtime/CollectionWrappers/ListWrapper.cs
|
|
59
77
|
src/runtime/CollectionWrappers/SequenceWrapper.cs
|
|
60
78
|
src/runtime/Mixins/CollectionMixinsProvider.cs
|
|
79
|
+
src/runtime/Mixins/DynamicObjectMixinsProvider.cs
|
|
61
80
|
src/runtime/Mixins/collections.py
|
|
81
|
+
src/runtime/Mixins/dlr.py
|
|
62
82
|
src/runtime/Native/ABI.cs
|
|
63
83
|
src/runtime/Native/BorrowedReference.cs
|
|
64
84
|
src/runtime/Native/CustomMarshaler.cs
|
|
@@ -132,6 +152,7 @@ src/runtime/Types/ClassObject.cs
|
|
|
132
152
|
src/runtime/Types/ClrModule.cs
|
|
133
153
|
src/runtime/Types/ClrObject.cs
|
|
134
154
|
src/runtime/Types/DelegateObject.cs
|
|
155
|
+
src/runtime/Types/DynamicObjectMemberAccessor.cs
|
|
135
156
|
src/runtime/Types/EventBinding.cs
|
|
136
157
|
src/runtime/Types/EventObject.cs
|
|
137
158
|
src/runtime/Types/ExceptionClassObject.cs
|
|
@@ -156,6 +177,7 @@ src/runtime/Types/PropertyObject.cs
|
|
|
156
177
|
src/runtime/Types/ReflectedClrType.cs
|
|
157
178
|
src/runtime/Types/UnsafeReferenceWithRun.cs
|
|
158
179
|
src/runtime/Util/CodeGenerator.cs
|
|
180
|
+
src/runtime/Util/ConcurrentLruCache.cs
|
|
159
181
|
src/runtime/Util/DebugUtil.cs
|
|
160
182
|
src/runtime/Util/Encodings.cs
|
|
161
183
|
src/runtime/Util/EventHandlerCollection.cs
|
|
@@ -179,7 +201,9 @@ tests/test_collection_mixins.py
|
|
|
179
201
|
tests/test_constructors.py
|
|
180
202
|
tests/test_conversion.py
|
|
181
203
|
tests/test_delegate.py
|
|
204
|
+
tests/test_disposable.py
|
|
182
205
|
tests/test_docstring.py
|
|
206
|
+
tests/test_dynamic.py
|
|
183
207
|
tests/test_engine.py
|
|
184
208
|
tests/test_enum.py
|
|
185
209
|
tests/test_event.py
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
clr_loader<0.4.0,>=0.3.1
|
|
@@ -3,15 +3,25 @@
|
|
|
3
3
|
import distutils
|
|
4
4
|
from distutils.command.build import build as _build
|
|
5
5
|
from setuptools.command.develop import develop as _develop
|
|
6
|
-
from
|
|
6
|
+
from setuptools.command.bdist_wheel import bdist_wheel as _bdist_wheel
|
|
7
|
+
from packaging.specifiers import SpecifierSet
|
|
8
|
+
from packaging.version import Version
|
|
9
|
+
from pyproject_parser import PyProject
|
|
7
10
|
from setuptools import Distribution
|
|
8
11
|
from setuptools import setup, Command
|
|
9
12
|
|
|
10
13
|
import os
|
|
14
|
+
import sys
|
|
11
15
|
|
|
12
16
|
# Disable SourceLink during the build until it can read repo-format v1, #1613
|
|
13
17
|
os.environ["EnableSourceControlManagerQueries"] = "false"
|
|
14
18
|
|
|
19
|
+
NET46_SUPPORT_OPTION = "--net46-support"
|
|
20
|
+
NET46_SUPPORT = NET46_SUPPORT_OPTION in sys.argv
|
|
21
|
+
if NET46_SUPPORT:
|
|
22
|
+
sys.argv.remove(NET46_SUPPORT_OPTION)
|
|
23
|
+
WINDOWS_PLATFORM_TAG = "win32.win_amd64"
|
|
24
|
+
|
|
15
25
|
|
|
16
26
|
class DotnetLib:
|
|
17
27
|
def __init__(self, name, path, **kwargs):
|
|
@@ -107,11 +117,29 @@ class develop(_develop):
|
|
|
107
117
|
|
|
108
118
|
|
|
109
119
|
class bdist_wheel(_bdist_wheel):
|
|
110
|
-
def
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
120
|
+
def get_tag(self):
|
|
121
|
+
if NET46_SUPPORT:
|
|
122
|
+
platform_tag = WINDOWS_PLATFORM_TAG
|
|
123
|
+
else:
|
|
124
|
+
platform_tag = "any"
|
|
125
|
+
abi_tag = "none"
|
|
126
|
+
python_tag = self._get_python_tag()
|
|
127
|
+
return python_tag, abi_tag, platform_tag
|
|
128
|
+
|
|
129
|
+
def _get_python_tag(self) -> str:
|
|
130
|
+
pyproject = PyProject.load("pyproject.toml")
|
|
131
|
+
project = pyproject.project or {}
|
|
132
|
+
|
|
133
|
+
requires_python = project.get("requires-python")
|
|
134
|
+
if not requires_python:
|
|
135
|
+
raise RuntimeError("project.requires-python is required")
|
|
136
|
+
|
|
137
|
+
specifiers = SpecifierSet(str(requires_python))
|
|
138
|
+
return ".".join(
|
|
139
|
+
f"cp3{minor}"
|
|
140
|
+
for minor in range(0, 100)
|
|
141
|
+
if specifiers.contains(Version(f"3.{minor}"), prereleases=True)
|
|
142
|
+
)
|
|
115
143
|
|
|
116
144
|
|
|
117
145
|
# Monkey-patch Distribution s.t. it supports the dotnet_libs attribute
|
|
@@ -124,13 +152,13 @@ cmdclass = {
|
|
|
124
152
|
"bdist_wheel": bdist_wheel,
|
|
125
153
|
}
|
|
126
154
|
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
]
|
|
155
|
+
|
|
156
|
+
if NET46_SUPPORT:
|
|
157
|
+
csproj = "src/compat/Python.Runtime.Compat.csproj"
|
|
158
|
+
else:
|
|
159
|
+
csproj = "src/runtime/Python.Runtime.csproj"
|
|
160
|
+
|
|
161
|
+
dotnet_libs = [DotnetLib("python-runtime", csproj, output="pythonnet/runtime")]
|
|
134
162
|
|
|
135
163
|
setup(
|
|
136
164
|
cmdclass=cmdclass,
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<!-- A dummy project to force MSBuild to package .NET 4.6.1 requirements -->
|
|
2
|
+
<Project Sdk="Microsoft.NET.Sdk">
|
|
3
|
+
<PropertyGroup>
|
|
4
|
+
<TargetFramework>net461</TargetFramework>
|
|
5
|
+
<OutputType>Library</OutputType>
|
|
6
|
+
<!-- Don't copy the dummy assembly/pdb to output; we only need the resolved references -->
|
|
7
|
+
<CopyBuildOutputToOutputDirectory>false</CopyBuildOutputToOutputDirectory>
|
|
8
|
+
<CopyOutputSymbolsToOutputDirectory>false</CopyOutputSymbolsToOutputDirectory>
|
|
9
|
+
</PropertyGroup>
|
|
10
|
+
<ItemGroup>
|
|
11
|
+
<ProjectReference Include="..\runtime\Python.Runtime.csproj" />
|
|
12
|
+
</ItemGroup>
|
|
13
|
+
</Project>
|
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
{
|
|
2
|
+
"format": 1,
|
|
3
|
+
"restore": {
|
|
4
|
+
"/home/u37166/dev/pythonnet/src/compat/Python.Runtime.Compat.csproj": {}
|
|
5
|
+
},
|
|
6
|
+
"projects": {
|
|
7
|
+
"/home/u37166/dev/pythonnet/src/compat/Python.Runtime.Compat.csproj": {
|
|
8
|
+
"version": "3.1.0-rc.1",
|
|
9
|
+
"restore": {
|
|
10
|
+
"projectUniqueName": "/home/u37166/dev/pythonnet/src/compat/Python.Runtime.Compat.csproj",
|
|
11
|
+
"projectName": "Python.Runtime.Compat",
|
|
12
|
+
"projectPath": "/home/u37166/dev/pythonnet/src/compat/Python.Runtime.Compat.csproj",
|
|
13
|
+
"packagesPath": "/home/u37166/.nuget/packages/",
|
|
14
|
+
"outputPath": "/home/u37166/dev/pythonnet/src/compat/obj/",
|
|
15
|
+
"projectStyle": "PackageReference",
|
|
16
|
+
"configFilePaths": [
|
|
17
|
+
"/home/u37166/.nuget/NuGet/NuGet.Config"
|
|
18
|
+
],
|
|
19
|
+
"originalTargetFrameworks": [
|
|
20
|
+
"net461"
|
|
21
|
+
],
|
|
22
|
+
"sources": {
|
|
23
|
+
"https://api.nuget.org/v3/index.json": {},
|
|
24
|
+
"https://gitlab.com/api/v4/groups/54506757/-/packages/nuget/index.json": {}
|
|
25
|
+
},
|
|
26
|
+
"frameworks": {
|
|
27
|
+
"net461": {
|
|
28
|
+
"targetAlias": "net461",
|
|
29
|
+
"projectReferences": {
|
|
30
|
+
"/home/u37166/dev/pythonnet/src/runtime/Python.Runtime.csproj": {
|
|
31
|
+
"projectPath": "/home/u37166/dev/pythonnet/src/runtime/Python.Runtime.csproj"
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"warningProperties": {
|
|
37
|
+
"warnAsError": [
|
|
38
|
+
"NU1605"
|
|
39
|
+
]
|
|
40
|
+
},
|
|
41
|
+
"restoreAuditProperties": {
|
|
42
|
+
"enableAudit": "true",
|
|
43
|
+
"auditLevel": "low",
|
|
44
|
+
"auditMode": "direct"
|
|
45
|
+
},
|
|
46
|
+
"SdkAnalysisLevel": "10.0.200"
|
|
47
|
+
},
|
|
48
|
+
"frameworks": {
|
|
49
|
+
"net461": {
|
|
50
|
+
"targetAlias": "net461",
|
|
51
|
+
"dependencies": {
|
|
52
|
+
"Microsoft.CSharp": {
|
|
53
|
+
"target": "Package",
|
|
54
|
+
"version": "[4.*, )"
|
|
55
|
+
},
|
|
56
|
+
"Microsoft.NETFramework.ReferenceAssemblies": {
|
|
57
|
+
"suppressParent": "All",
|
|
58
|
+
"target": "Package",
|
|
59
|
+
"version": "[1.0.3, )",
|
|
60
|
+
"autoReferenced": true
|
|
61
|
+
},
|
|
62
|
+
"Microsoft.Net.Compilers.Toolset": {
|
|
63
|
+
"include": "Runtime, Build, Native, ContentFiles, Analyzers",
|
|
64
|
+
"suppressParent": "All",
|
|
65
|
+
"target": "Package",
|
|
66
|
+
"version": "[5.*, )"
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
"runtimeIdentifierGraphPath": "/home/u37166/.dotnet/sdk/10.0.203/RuntimeIdentifierGraph.json"
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
"/home/u37166/dev/pythonnet/src/runtime/Python.Runtime.csproj": {
|
|
74
|
+
"version": "3.1.0-rc.1",
|
|
75
|
+
"restore": {
|
|
76
|
+
"projectUniqueName": "/home/u37166/dev/pythonnet/src/runtime/Python.Runtime.csproj",
|
|
77
|
+
"projectName": "pythonnet",
|
|
78
|
+
"projectPath": "/home/u37166/dev/pythonnet/src/runtime/Python.Runtime.csproj",
|
|
79
|
+
"packagesPath": "/home/u37166/.nuget/packages/",
|
|
80
|
+
"outputPath": "/home/u37166/dev/pythonnet/src/runtime/obj/",
|
|
81
|
+
"projectStyle": "PackageReference",
|
|
82
|
+
"crossTargeting": true,
|
|
83
|
+
"configFilePaths": [
|
|
84
|
+
"/home/u37166/.nuget/NuGet/NuGet.Config"
|
|
85
|
+
],
|
|
86
|
+
"originalTargetFrameworks": [
|
|
87
|
+
"netstandard2.0"
|
|
88
|
+
],
|
|
89
|
+
"sources": {
|
|
90
|
+
"https://api.nuget.org/v3/index.json": {},
|
|
91
|
+
"https://gitlab.com/api/v4/groups/54506757/-/packages/nuget/index.json": {}
|
|
92
|
+
},
|
|
93
|
+
"frameworks": {
|
|
94
|
+
"netstandard2.0": {
|
|
95
|
+
"targetAlias": "netstandard2.0",
|
|
96
|
+
"projectReferences": {}
|
|
97
|
+
}
|
|
98
|
+
},
|
|
99
|
+
"warningProperties": {
|
|
100
|
+
"noWarn": [
|
|
101
|
+
"NU1701"
|
|
102
|
+
],
|
|
103
|
+
"warnAsError": [
|
|
104
|
+
"NU1605"
|
|
105
|
+
]
|
|
106
|
+
},
|
|
107
|
+
"restoreAuditProperties": {
|
|
108
|
+
"enableAudit": "true",
|
|
109
|
+
"auditLevel": "low",
|
|
110
|
+
"auditMode": "direct"
|
|
111
|
+
},
|
|
112
|
+
"SdkAnalysisLevel": "10.0.200"
|
|
113
|
+
},
|
|
114
|
+
"frameworks": {
|
|
115
|
+
"netstandard2.0": {
|
|
116
|
+
"targetAlias": "netstandard2.0",
|
|
117
|
+
"dependencies": {
|
|
118
|
+
"Lost.Compat.NullabilityAttributes": {
|
|
119
|
+
"suppressParent": "All",
|
|
120
|
+
"target": "Package",
|
|
121
|
+
"version": "[0.0.4, )"
|
|
122
|
+
},
|
|
123
|
+
"Microsoft.CSharp": {
|
|
124
|
+
"target": "Package",
|
|
125
|
+
"version": "[4.*, )"
|
|
126
|
+
},
|
|
127
|
+
"Microsoft.Net.Compilers.Toolset": {
|
|
128
|
+
"include": "Runtime, Build, Native, ContentFiles, Analyzers",
|
|
129
|
+
"suppressParent": "All",
|
|
130
|
+
"target": "Package",
|
|
131
|
+
"version": "[5.*, )"
|
|
132
|
+
},
|
|
133
|
+
"Microsoft.SourceLink.GitHub": {
|
|
134
|
+
"suppressParent": "All",
|
|
135
|
+
"target": "Package",
|
|
136
|
+
"version": "[10.*, )"
|
|
137
|
+
},
|
|
138
|
+
"NETStandard.Library": {
|
|
139
|
+
"suppressParent": "All",
|
|
140
|
+
"target": "Package",
|
|
141
|
+
"version": "[2.0.3, )",
|
|
142
|
+
"autoReferenced": true
|
|
143
|
+
},
|
|
144
|
+
"System.Reflection.Emit": {
|
|
145
|
+
"target": "Package",
|
|
146
|
+
"version": "[4.7.0, )"
|
|
147
|
+
}
|
|
148
|
+
},
|
|
149
|
+
"imports": [
|
|
150
|
+
"net461",
|
|
151
|
+
"net462",
|
|
152
|
+
"net47",
|
|
153
|
+
"net471",
|
|
154
|
+
"net472",
|
|
155
|
+
"net48",
|
|
156
|
+
"net481"
|
|
157
|
+
],
|
|
158
|
+
"assetTargetFallback": true,
|
|
159
|
+
"warn": true,
|
|
160
|
+
"runtimeIdentifierGraphPath": "/home/u37166/.dotnet/sdk/10.0.203/RuntimeIdentifierGraph.json"
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
|
2
|
+
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
3
|
+
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
|
4
|
+
<RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess>
|
|
5
|
+
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
|
|
6
|
+
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
|
|
7
|
+
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">/home/u37166/.nuget/packages/</NuGetPackageRoot>
|
|
8
|
+
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">/home/u37166/.nuget/packages/</NuGetPackageFolders>
|
|
9
|
+
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
|
|
10
|
+
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">7.0.0</NuGetToolVersion>
|
|
11
|
+
</PropertyGroup>
|
|
12
|
+
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
|
13
|
+
<SourceRoot Include="/home/u37166/.nuget/packages/" />
|
|
14
|
+
</ItemGroup>
|
|
15
|
+
<ImportGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
|
16
|
+
<Import Project="$(NuGetPackageRoot)microsoft.net.compilers.toolset/5.3.0/build/Microsoft.Net.Compilers.Toolset.props" Condition="Exists('$(NuGetPackageRoot)microsoft.net.compilers.toolset/5.3.0/build/Microsoft.Net.Compilers.Toolset.props')" />
|
|
17
|
+
</ImportGroup>
|
|
18
|
+
</Project>
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
|
2
|
+
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
3
|
+
<ImportGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
|
4
|
+
<Import Project="$(NuGetPackageRoot)microsoft.netframework.referenceassemblies.net461/1.0.3/build/Microsoft.NETFramework.ReferenceAssemblies.net461.targets" Condition="Exists('$(NuGetPackageRoot)microsoft.netframework.referenceassemblies.net461/1.0.3/build/Microsoft.NETFramework.ReferenceAssemblies.net461.targets')" />
|
|
5
|
+
</ImportGroup>
|
|
6
|
+
</Project>
|