BinaryPacking 1.0.0__tar.gz → 1.0.2__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.
- {binarypacking-1.0.0 → binarypacking-1.0.2}/BinaryPacking.egg-info/PKG-INFO +1 -1
- {binarypacking-1.0.0 → binarypacking-1.0.2}/LICENSE +1 -1
- {binarypacking-1.0.0 → binarypacking-1.0.2}/PKG-INFO +1 -1
- {binarypacking-1.0.0 → binarypacking-1.0.2}/pyproject.toml +1 -2
- {binarypacking-1.0.0 → binarypacking-1.0.2}/setup.py +20 -2
- {binarypacking-1.0.0 → binarypacking-1.0.2}/BinaryPacking.egg-info/SOURCES.txt +0 -0
- {binarypacking-1.0.0 → binarypacking-1.0.2}/BinaryPacking.egg-info/dependency_links.txt +0 -0
- {binarypacking-1.0.0 → binarypacking-1.0.2}/BinaryPacking.egg-info/not-zip-safe +0 -0
- {binarypacking-1.0.0 → binarypacking-1.0.2}/BinaryPacking.egg-info/top_level.txt +0 -0
- {binarypacking-1.0.0 → binarypacking-1.0.2}/MANIFEST.in +0 -0
- {binarypacking-1.0.0 → binarypacking-1.0.2}/Packing.c +0 -0
- {binarypacking-1.0.0 → binarypacking-1.0.2}/Packing.pyi +0 -0
- {binarypacking-1.0.0 → binarypacking-1.0.2}/README.md +0 -0
- {binarypacking-1.0.0 → binarypacking-1.0.2}/__init__.py +0 -0
- {binarypacking-1.0.0 → binarypacking-1.0.2}/py.typed +0 -0
- {binarypacking-1.0.0 → binarypacking-1.0.2}/setup.cfg +0 -0
|
@@ -3,6 +3,5 @@ requires = ["setuptools>=61", "wheel"]
|
|
|
3
3
|
build-backend = "setuptools.build_meta"
|
|
4
4
|
|
|
5
5
|
[tool.cibuildwheel]
|
|
6
|
-
build = "cp310-*
|
|
6
|
+
build = "cp310-*"
|
|
7
7
|
skip = "*-musllinux_i686 *-manylinux_i686 *-win32"
|
|
8
|
-
enable = ["cpython-prerelease"]
|
|
@@ -1,12 +1,22 @@
|
|
|
1
1
|
from pathlib import Path
|
|
2
2
|
|
|
3
3
|
from setuptools import Extension, setup
|
|
4
|
+
from setuptools.command.build_py import build_py
|
|
4
5
|
|
|
5
6
|
here = Path(__file__).parent
|
|
6
7
|
|
|
8
|
+
|
|
9
|
+
class BuildPy(build_py):
|
|
10
|
+
"""The package lives in the project root, so keep build files out of it."""
|
|
11
|
+
|
|
12
|
+
def find_package_modules(self, package, package_dir):
|
|
13
|
+
return [m for m in super().find_package_modules(package, package_dir) if m[1] != "setup"]
|
|
14
|
+
|
|
15
|
+
|
|
7
16
|
setup(
|
|
8
17
|
name="BinaryPacking",
|
|
9
|
-
version="1.0.
|
|
18
|
+
version="1.0.2",
|
|
19
|
+
cmdclass={"build_py": BuildPy},
|
|
10
20
|
description="Fast C extension for packing and unpacking numeric values as binary data.",
|
|
11
21
|
long_description=(here / "README.md").read_text(encoding="utf-8"),
|
|
12
22
|
long_description_content_type="text/markdown",
|
|
@@ -19,7 +29,15 @@ setup(
|
|
|
19
29
|
package_dir={"BinaryPacking": "."},
|
|
20
30
|
package_data={"BinaryPacking": ["Packing.pyi", "py.typed"]},
|
|
21
31
|
include_package_data=True,
|
|
22
|
-
ext_modules=[
|
|
32
|
+
ext_modules=[
|
|
33
|
+
Extension(
|
|
34
|
+
"BinaryPacking.Packing",
|
|
35
|
+
sources=["Packing.c"],
|
|
36
|
+
define_macros=[("Py_LIMITED_API", "0x030A0000")],
|
|
37
|
+
py_limited_api=True,
|
|
38
|
+
)
|
|
39
|
+
],
|
|
40
|
+
options={"bdist_wheel": {"py_limited_api": "cp310"}},
|
|
23
41
|
zip_safe=False,
|
|
24
42
|
keywords=["binary", "pack", "unpack", "struct", "serialization"],
|
|
25
43
|
classifiers=[
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|