forked from pythonnet/pythonnet
-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Merge pull request pythonnet#1955 from filmor/python-3.11 Python 3.11 * Minor fix for datetime tz conversion * Version bump to 2.0.29 --------- Co-authored-by: Benedikt Reinartz <[email protected]>
- Loading branch information
1 parent
8bf39fc
commit a967d46
Showing
15 changed files
with
371 additions
and
108 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,55 @@ | |
requires = ["setuptools>=42", "wheel", "pycparser"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
name = "pythonnet" | ||
description = ".NET and Mono integration for Python" | ||
license = {text = "MIT"} | ||
|
||
readme = "README.rst" | ||
|
||
dependencies = [ | ||
"clr_loader>=0.2.2,<0.3.0" | ||
] | ||
|
||
requires-python = ">=3.7, <3.12" | ||
|
||
classifiers = [ | ||
"Development Status :: 5 - Production/Stable", | ||
"Intended Audience :: Developers", | ||
"License :: OSI Approved :: MIT License", | ||
"Programming Language :: C#", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3.7", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Operating System :: Microsoft :: Windows", | ||
"Operating System :: POSIX :: Linux", | ||
"Operating System :: MacOS :: MacOS X", | ||
] | ||
|
||
dynamic = ["version"] | ||
|
||
[[project.authors]] | ||
name = "The Contributors of the Python.NET Project" | ||
email = "[email protected]" | ||
|
||
[project.urls] | ||
Homepage = "https://pythonnet.github.io/" | ||
Sources = "https://github.com/pythonnet/pythonnet" | ||
|
||
[tool.setuptools] | ||
zip-safe = false | ||
py-modules = ["clr"] | ||
|
||
[tool.setuptools.dynamic.version] | ||
file = "version.txt" | ||
|
||
[tool.setuptools.packages.find] | ||
include = ["pythonnet*"] | ||
|
||
[tool.pytest.ini_options] | ||
xfail_strict = true | ||
testpaths = [ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,141 @@ | ||
|
||
// Auto-generated by geninterop.py. | ||
// DO NOT MODIFY BY HAND. | ||
|
||
// Python 3.11: ABI flags: '' | ||
|
||
// ReSharper disable InconsistentNaming | ||
// ReSharper disable IdentifierTypo | ||
|
||
using System; | ||
using System.Diagnostics.CodeAnalysis; | ||
using System.Runtime.InteropServices; | ||
|
||
using Python.Runtime.Native; | ||
|
||
namespace Python.Runtime | ||
{ | ||
[SuppressMessage("Style", "IDE1006:Naming Styles", | ||
Justification = "Following CPython", | ||
Scope = "type")] | ||
|
||
[StructLayout(LayoutKind.Sequential)] | ||
internal class TypeOffset311 : GeneratedTypeOffsets, ITypeOffsets | ||
{ | ||
public TypeOffset311() { } | ||
// Auto-generated from PyHeapTypeObject in Python.h | ||
public int ob_refcnt { get; private set; } | ||
public int ob_type { get; private set; } | ||
public int ob_size { get; private set; } | ||
public int tp_name { get; private set; } | ||
public int tp_basicsize { get; private set; } | ||
public int tp_itemsize { get; private set; } | ||
public int tp_dealloc { get; private set; } | ||
public int tp_vectorcall_offset { get; private set; } | ||
public int tp_getattr { get; private set; } | ||
public int tp_setattr { get; private set; } | ||
public int tp_as_async { get; private set; } | ||
public int tp_repr { get; private set; } | ||
public int tp_as_number { get; private set; } | ||
public int tp_as_sequence { get; private set; } | ||
public int tp_as_mapping { get; private set; } | ||
public int tp_hash { get; private set; } | ||
public int tp_call { get; private set; } | ||
public int tp_str { get; private set; } | ||
public int tp_getattro { get; private set; } | ||
public int tp_setattro { get; private set; } | ||
public int tp_as_buffer { get; private set; } | ||
public int tp_flags { get; private set; } | ||
public int tp_doc { get; private set; } | ||
public int tp_traverse { get; private set; } | ||
public int tp_clear { get; private set; } | ||
public int tp_richcompare { get; private set; } | ||
public int tp_weaklistoffset { get; private set; } | ||
public int tp_iter { get; private set; } | ||
public int tp_iternext { get; private set; } | ||
public int tp_methods { get; private set; } | ||
public int tp_members { get; private set; } | ||
public int tp_getset { get; private set; } | ||
public int tp_base { get; private set; } | ||
public int tp_dict { get; private set; } | ||
public int tp_descr_get { get; private set; } | ||
public int tp_descr_set { get; private set; } | ||
public int tp_dictoffset { get; private set; } | ||
public int tp_init { get; private set; } | ||
public int tp_alloc { get; private set; } | ||
public int tp_new { get; private set; } | ||
public int tp_free { get; private set; } | ||
public int tp_is_gc { get; private set; } | ||
public int tp_bases { get; private set; } | ||
public int tp_mro { get; private set; } | ||
public int tp_cache { get; private set; } | ||
public int tp_subclasses { get; private set; } | ||
public int tp_weaklist { get; private set; } | ||
public int tp_del { get; private set; } | ||
public int tp_version_tag { get; private set; } | ||
public int tp_finalize { get; private set; } | ||
public int tp_vectorcall { get; private set; } | ||
public int am_await { get; private set; } | ||
public int am_aiter { get; private set; } | ||
public int am_anext { get; private set; } | ||
public int am_send { get; private set; } | ||
public int nb_add { get; private set; } | ||
public int nb_subtract { get; private set; } | ||
public int nb_multiply { get; private set; } | ||
public int nb_remainder { get; private set; } | ||
public int nb_divmod { get; private set; } | ||
public int nb_power { get; private set; } | ||
public int nb_negative { get; private set; } | ||
public int nb_positive { get; private set; } | ||
public int nb_absolute { get; private set; } | ||
public int nb_bool { get; private set; } | ||
public int nb_invert { get; private set; } | ||
public int nb_lshift { get; private set; } | ||
public int nb_rshift { get; private set; } | ||
public int nb_and { get; private set; } | ||
public int nb_xor { get; private set; } | ||
public int nb_or { get; private set; } | ||
public int nb_int { get; private set; } | ||
public int nb_reserved { get; private set; } | ||
public int nb_float { get; private set; } | ||
public int nb_inplace_add { get; private set; } | ||
public int nb_inplace_subtract { get; private set; } | ||
public int nb_inplace_multiply { get; private set; } | ||
public int nb_inplace_remainder { get; private set; } | ||
public int nb_inplace_power { get; private set; } | ||
public int nb_inplace_lshift { get; private set; } | ||
public int nb_inplace_rshift { get; private set; } | ||
public int nb_inplace_and { get; private set; } | ||
public int nb_inplace_xor { get; private set; } | ||
public int nb_inplace_or { get; private set; } | ||
public int nb_floor_divide { get; private set; } | ||
public int nb_true_divide { get; private set; } | ||
public int nb_inplace_floor_divide { get; private set; } | ||
public int nb_inplace_true_divide { get; private set; } | ||
public int nb_index { get; private set; } | ||
public int nb_matrix_multiply { get; private set; } | ||
public int nb_inplace_matrix_multiply { get; private set; } | ||
public int mp_length { get; private set; } | ||
public int mp_subscript { get; private set; } | ||
public int mp_ass_subscript { get; private set; } | ||
public int sq_length { get; private set; } | ||
public int sq_concat { get; private set; } | ||
public int sq_repeat { get; private set; } | ||
public int sq_item { get; private set; } | ||
public int was_sq_slice { get; private set; } | ||
public int sq_ass_item { get; private set; } | ||
public int was_sq_ass_slice { get; private set; } | ||
public int sq_contains { get; private set; } | ||
public int sq_inplace_concat { get; private set; } | ||
public int sq_inplace_repeat { get; private set; } | ||
public int bf_getbuffer { get; private set; } | ||
public int bf_releasebuffer { get; private set; } | ||
public int name { get; private set; } | ||
public int ht_slots { get; private set; } | ||
public int qualname { get; private set; } | ||
public int ht_cached_keys { get; private set; } | ||
public int ht_module { get; private set; } | ||
public int _ht_tpname { get; private set; } | ||
public int spec_cache_getitem { get; private set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.