v2.8.20 include python/test_cracklib.py in release tarball (Jan Dittberner)
+ rename python/_cracklibmodule.c to python/_cracklib.c to support Python 3.3 (Jan Dittberner)
v2.8.19 drop autogenerated files from SVN (Mike Frysinger)
add words from "The Top 500 Worst Passwords of All Time" <http://www.whatsmypass.com/the-top-500-worst-passwords-of-all-time> to dicts/cracklib-small (patch by Fabian Greffrath)
include sys/stat.h in python/_cracklibmodule.c (Mike Frysinger)
if BUILD_PYTHON
python_PYTHON = cracklib.py test_cracklib.py
-pyexec_LTLIBRARIES = _cracklibmodule.la
+pyexec_LTLIBRARIES = _cracklib.la
AM_CFLAGS = -I$(top_srcdir)/lib -Wall
-_cracklibmodule_la_LDFLAGS = -module -avoid-version $(top_builddir)/lib/libcrack.la
+_cracklib_la_LDFLAGS = -module -avoid-version $(top_builddir)/lib/libcrack.la
DEFS += '-DDEFAULT_CRACKLIB_DICT="$(DEFAULT_CRACKLIB_DICT)"'
DEFS += '-DPYTHON_H="python@PYTHON_VERSION@/Python.h"'
endif
#!/usr/bin/python
-# Copyright 2009 Jan Dittberner <jan@dittberner.info>
+# Copyright 2009, 2012 Jan Dittberner <jan@dittberner.info>
#
# This file is part of cracklib.
#
from setuptools import setup, Extension, find_packages
extensions = [
- Extension("_cracklibmodule",
- ["_cracklibmodule.c"],
+ Extension("_cracklib",
+ ["_cracklib.c"],
include_dirs = ["@top_builddir@/lib"],
libraries = ["crack"],
library_dirs = ["@top_builddir@/lib/.libs"]),