d310b4123b
This module makes the PAM (Pluggable Authentication Modules) functions available in Python 3. With this module you can write Python 3 applications that implement authentication services using PAM. WWW: https://packages.debian.org/sid/python3-pam
20 lines
459 B
Python
20 lines
459 B
Python
--- setup.py.orig 2026-05-24 01:06:41 UTC
|
|
+++ setup.py
|
|
@@ -2,13 +2,11 @@
|
|
|
|
"""Setup script for the Python-PAM module distribution."""
|
|
|
|
-import distutils
|
|
-from distutils.core import setup
|
|
-from distutils.extension import Extension
|
|
+from setuptools import setup, Extension
|
|
|
|
ext = Extension(
|
|
- name="PAMmodule",
|
|
- libraries=["pam","pam_misc"],
|
|
+ name="PAM",
|
|
+ libraries=["pam"],
|
|
sources=["PAMmodule.c"]
|
|
)
|
|
##print ext.__dict__; sys.exit(1)
|