Skip to content

Commit 55cfa44

Browse files
Merge pull request #49 from AdamWill/no-pampy
Don't ship pam.py in the module
2 parents 1dcd670 + 3800b4b commit 55cfa44

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

MANIFEST.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
include README.md
22
include LICENSE
3+
graft examples

src/pam/pam.py renamed to examples/pam.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,16 @@
2222
'''
2323
PAM module for python
2424
25-
This is a legacy file, it is not used. Here for example.
25+
This is a legacy implementation of the real module, kept around as a usage
26+
example.
2627
2728
Provides an authenticate function that will allow the caller to authenticate
2829
a user against the Pluggable Authentication Modules (PAM) on the system.
2930
3031
Implemented using ctypes, so no compilation is necessary.
3132
'''
3233

33-
import __internals
34+
import pam.__internals
3435

3536
if __name__ == "__main__": # pragma: no cover
3637
import readline

0 commit comments

Comments
 (0)