]> Repositories - Adafruit_Blinka-hackapet.git/blobdiff - setup.py
Add versioning to the top-level Python files
[Adafruit_Blinka-hackapet.git] / setup.py
index 576afbdca29645bfa187c37de958fbae7b3b6e70..72a2a41f6aa4ac581209daf7d3a15ef34ef7a1f2 100755 (executable)
--- a/setup.py
+++ b/setup.py
@@ -33,8 +33,13 @@ if os.path.exists("/proc/device-tree/compatible"):
         board_reqs = ["RPi.GPIO", "rpi_ws281x>=4.0.0", "sysv_ipc>=1.1.0"]
 
 setup(
-    name="Adafruit-Blinka",
-    use_scm_version=True,
+    # name="Adafruit-Blinka",
+    name="samourai-Adafruit-Blinka",
+    use_scm_version={
+        # This is needed for the PyPI version munging in the Github Actions release.yml
+        "git_describe_command": "git describe --tags --long",
+        "local_scheme": "no-local-version",
+    },
     setup_requires=["setuptools_scm"],
     description="CircuitPython APIs for non-CircuitPython versions of Python such as CPython on Linux and MicroPython.",
     long_description=long_description,
@@ -53,10 +58,11 @@ setup(
         "board",
         "busio",
         "digitalio",
+        "keypad",
         "micropython",
+        "neopixel_write",
         "pulseio",
         "pwmio",
-        "neopixel_write",
         "rainbowio",
     ],
     package_data={