circuitpython-adxl36x 0.2.1__tar.gz → 0.2.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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: circuitpython-adxl36x
3
- Version: 0.2.1
3
+ Version: 0.2.2
4
4
  Summary: CircuitPython driver for the Analog Devices ADXL366/ADXL367 accelerometers
5
5
  Keywords: adxl366,adxl367,accelerometer,blinka,circuitpython,hardware,i2c,micropython,spi
6
6
  Author: Mike Mabey
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "circuitpython-adxl36x"
3
- version = "0.2.1"
3
+ version = "0.2.2"
4
4
  description = "CircuitPython driver for the Analog Devices ADXL366/ADXL367 accelerometers"
5
5
  readme = "README.md"
6
6
  license = "MIT"
@@ -54,6 +54,9 @@ build-backend = "uv_build"
54
54
  module-name = "adxl36x"
55
55
  module-root = ""
56
56
 
57
+ [tool.setuptools]
58
+ packages = ["adxl36x"]
59
+
57
60
  [tool.ty.src]
58
61
  include = [
59
62
  "adxl36x",
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "circuitpython-adxl36x"
3
- version = "0.2.1"
3
+ version = "0.2.2"
4
4
  description = "CircuitPython driver for the Analog Devices ADXL366/ADXL367 accelerometers"
5
5
  readme = "README.md"
6
6
  license = "MIT"
@@ -57,6 +57,13 @@ build-backend = "uv_build"
57
57
  module-name = "adxl36x"
58
58
  module-root = ""
59
59
 
60
+ # Read by circuitpython-build-tools (not our build backend, see [build-system] above) to pin
61
+ # exactly what it bundles. Without this it falls back to legacy autodetection, which has a bug:
62
+ # once it spots the adxl36x/ package it stops checking directory names and sweeps every other
63
+ # top-level .py file (tests/*.py included) into the bundle output alongside it.
64
+ [tool.setuptools]
65
+ packages = ["adxl36x"]
66
+
60
67
  [tool.ty.src]
61
68
  include = ["adxl36x", "tests"]
62
69