c2ImageD11 0.4.1__tar.gz → 0.4.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.
Files changed (42) hide show
  1. {c2imaged11-0.4.1/c2ImageD11.egg-info → c2imaged11-0.4.2}/PKG-INFO +3 -2
  2. {c2imaged11-0.4.1 → c2imaged11-0.4.2}/c2ImageD11/__init__.py +3 -3
  3. {c2imaged11-0.4.1 → c2imaged11-0.4.2/c2ImageD11.egg-info}/PKG-INFO +3 -2
  4. c2imaged11-0.4.2/c2ImageD11.egg-info/requires.txt +3 -0
  5. {c2imaged11-0.4.1 → c2imaged11-0.4.2}/lib/interface/_cImageD11.c2py +694 -668
  6. {c2imaged11-0.4.1 → c2imaged11-0.4.2}/lib/interface/_cImageD11_wrapper.c +16925 -16729
  7. {c2imaged11-0.4.1 → c2imaged11-0.4.2}/lib/meson.build +12 -44
  8. {c2imaged11-0.4.1 → c2imaged11-0.4.2}/pyproject.toml +4 -3
  9. {c2imaged11-0.4.1 → c2imaged11-0.4.2}/tests/test_buffer.py +31 -0
  10. {c2imaged11-0.4.1 → c2imaged11-0.4.2}/tools/harvester.py +1 -1
  11. c2imaged11-0.4.1/c2ImageD11.egg-info/requires.txt +0 -1
  12. {c2imaged11-0.4.1 → c2imaged11-0.4.2}/.githooks/check_all_pythons.sh +0 -0
  13. {c2imaged11-0.4.1 → c2imaged11-0.4.2}/.githooks/pre-commit +0 -0
  14. {c2imaged11-0.4.1 → c2imaged11-0.4.2}/.githooks/pre-push +0 -0
  15. {c2imaged11-0.4.1 → c2imaged11-0.4.2}/.github/workflows/docs.yml +0 -0
  16. {c2imaged11-0.4.1 → c2imaged11-0.4.2}/.github/workflows/release.yml +0 -0
  17. {c2imaged11-0.4.1 → c2imaged11-0.4.2}/.github/workflows/test-aarch64.yml +0 -0
  18. {c2imaged11-0.4.1 → c2imaged11-0.4.2}/.github/workflows/test-py27.yml +0 -0
  19. {c2imaged11-0.4.1 → c2imaged11-0.4.2}/.github/workflows/test.yml +0 -0
  20. {c2imaged11-0.4.1 → c2imaged11-0.4.2}/AGENTS.md +0 -0
  21. {c2imaged11-0.4.1 → c2imaged11-0.4.2}/LICENSE +0 -0
  22. {c2imaged11-0.4.1 → c2imaged11-0.4.2}/MANIFEST.in +0 -0
  23. {c2imaged11-0.4.1 → c2imaged11-0.4.2}/README.md +0 -0
  24. {c2imaged11-0.4.1 → c2imaged11-0.4.2}/c2ImageD11.egg-info/SOURCES.txt +0 -0
  25. {c2imaged11-0.4.1 → c2imaged11-0.4.2}/c2ImageD11.egg-info/dependency_links.txt +0 -0
  26. {c2imaged11-0.4.1 → c2imaged11-0.4.2}/c2ImageD11.egg-info/not-zip-safe +0 -0
  27. {c2imaged11-0.4.1 → c2imaged11-0.4.2}/c2ImageD11.egg-info/top_level.txt +0 -0
  28. {c2imaged11-0.4.1 → c2imaged11-0.4.2}/lib/interface/c2py.h +0 -0
  29. {c2imaged11-0.4.1 → c2imaged11-0.4.2}/lib/interface/c2py_amd64.h +0 -0
  30. {c2imaged11-0.4.1 → c2imaged11-0.4.2}/lib/interface/c2py_arm64.h +0 -0
  31. {c2imaged11-0.4.1 → c2imaged11-0.4.2}/lib/interface/c2py_ppc64.h +0 -0
  32. {c2imaged11-0.4.1 → c2imaged11-0.4.2}/setup.cfg +0 -0
  33. {c2imaged11-0.4.1 → c2imaged11-0.4.2}/setup.py +0 -0
  34. {c2imaged11-0.4.1 → c2imaged11-0.4.2}/tests/benchmark_timing.py +0 -0
  35. {c2imaged11-0.4.1 → c2imaged11-0.4.2}/tests/conftest.py +0 -0
  36. {c2imaged11-0.4.1 → c2imaged11-0.4.2}/tests/diag_format.py +0 -0
  37. {c2imaged11-0.4.1 → c2imaged11-0.4.2}/tests/test_equivalence.py +0 -0
  38. {c2imaged11-0.4.1 → c2imaged11-0.4.2}/tests/test_geometry_precision.py +0 -0
  39. {c2imaged11-0.4.1 → c2imaged11-0.4.2}/tests/test_type_equivalence.py +0 -0
  40. {c2imaged11-0.4.1 → c2imaged11-0.4.2}/tests/test_typecheck.py +0 -0
  41. {c2imaged11-0.4.1 → c2imaged11-0.4.2}/tests/test_variants.py +0 -0
  42. {c2imaged11-0.4.1 → c2imaged11-0.4.2}/tools/strip_c2py.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: c2ImageD11
3
- Version: 0.4.1
3
+ Version: 0.4.2
4
4
  Summary: C extensions for ImageD11 (c2py23 binding)
5
5
  Author-email: Jon Wright <wright@esrf.fr>
6
6
  Project-URL: Homepage, https://github.com/jonwright/c2ImageD11
@@ -17,7 +17,8 @@ Classifier: Topic :: Scientific/Engineering :: Physics
17
17
  Classifier: Topic :: Scientific/Engineering :: Chemistry
18
18
  Requires-Python: >=2.7
19
19
  Description-Content-Type: text/markdown
20
- Requires-Dist: numpy
20
+ Provides-Extra: test
21
+ Requires-Dist: numpy; extra == "test"
21
22
 
22
23
  # c2ImageD11
23
24
 
@@ -10,7 +10,7 @@ Provides:
10
10
 
11
11
  from __future__ import absolute_import, division, print_function, unicode_literals
12
12
 
13
- __version__ = "0.4.1"
13
+ __version__ = "0.4.2"
14
14
 
15
15
  import os
16
16
  import platform
@@ -72,16 +72,16 @@ if _mod is not None:
72
72
 
73
73
  # ---- score_and_refine: single entry point, AoS/SoA dispatch in c2py23 wrapper ----
74
74
 
75
- import numpy as np
76
-
77
75
  def blobproperties(data, labels, npk, omega=0.0, verbose=0):
78
76
  """Allocate results and call C blobproperties, matching f2py convention."""
77
+ import numpy as np
79
78
  results = np.zeros((npk, 36), dtype=np.float64)
80
79
  _blobproperties_c(data, labels, npk, results, omega, verbose)
81
80
  return results
82
81
 
83
82
  def sparse_blob2Dproperties(v, i, j, labels, npk):
84
83
  """Allocate results and call C sparse_blob2Dproperties, matching f2py convention."""
84
+ import numpy as np
85
85
  results = np.zeros((npk, 11), dtype=np.float64)
86
86
  _sparse_blob2Dproperties_c(v, i, j, labels, npk, results)
87
87
  return results
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: c2ImageD11
3
- Version: 0.4.1
3
+ Version: 0.4.2
4
4
  Summary: C extensions for ImageD11 (c2py23 binding)
5
5
  Author-email: Jon Wright <wright@esrf.fr>
6
6
  Project-URL: Homepage, https://github.com/jonwright/c2ImageD11
@@ -17,7 +17,8 @@ Classifier: Topic :: Scientific/Engineering :: Physics
17
17
  Classifier: Topic :: Scientific/Engineering :: Chemistry
18
18
  Requires-Python: >=2.7
19
19
  Description-Content-Type: text/markdown
20
- Requires-Dist: numpy
20
+ Provides-Extra: test
21
+ Requires-Dist: numpy; extra == "test"
21
22
 
22
23
  # c2ImageD11
23
24
 
@@ -0,0 +1,3 @@
1
+
2
+ [test]
3
+ numpy