Skip to contentSkip to conversation

bindings: python: change the package name to 'gpiod'

PATCH In review Bartosz Golaszewski 2 participants 2 messages Oct 17, 2023 GPIO

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 bindings: python: change the package name to 'gpiod'

From: Bartosz Golaszewski <[email protected]>

We now control the name 'gpiod' on pypi. Let's change the project name as the package we import in python code is named 'gpiod' and not 'libgpiod'

---
 bindings/python/setup.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
bindings/python/setup.py +1 -1
index 168c1af..fbe5bc5 100644
@@ -148,7 +148,7 @@ if environ.get("GPIOD_WITH_TESTS") == "1":
     extensions.append(procname_ext)
 
 setup(
-    name="libgpiod",
+    name="gpiod",
     packages=find_packages(exclude=["tests", "tests.*"]),
     python_requires=">=3.9.0",
     ext_modules=extensions,
Signature · 1 line
2.39.2
#1 lore raw
Quoted 26 lines · Bartosz Golaszewski

From: Bartosz Golaszewski <[email protected]>

We now control the name 'gpiod' on pypi. Let's change the project name as the package we import in python code is named 'gpiod' and not 'libgpiod'

---
 bindings/python/setup.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
bindings/python/setup.py +1 -2
index 168c1af..fbe5bc5 100644
@@ -148,7 +148,7 @@ if environ.get("GPIOD_WITH_TESTS") == "1":
     extensions.append(procname_ext)
 
 setup(
-    name="libgpiod",
+    name="gpiod",
     packages=find_packages(exclude=["tests", "tests.*"]),
     python_requires=">=3.9.0",
     ext_modules=extensions,
--
Quoted 2 lines

2.39.2

lgtm