Files
ports/security/py-PAM/files/patch-setup.py
T
Jesús Daniel Colmenares Oviedo d310b4123b security/py-PAM: new port: Python interface to the PAM library
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
2026-05-25 13:47:37 -04:00

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)