From: Jan Dittberner Date: Sun, 22 Nov 2009 15:14:57 +0000 (+0000) Subject: Python binding improvements X-Git-Tag: cracklib-2-8-16@162~8 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=84395662b496c612f7fb6da45680cd7e213865d6;p=cracklib Python binding improvements * include libintl.h to fix warning * add a long description an an Operating System classifier * add setup.cfg to allow development releases * update NEWS git-svn-id: file:///tmp/cracklib-svn/trunk/cracklib@154 4175fe1e-86d5-4fdc-8e6a-506fab9d8533 --- diff --git a/NEWS b/NEWS index 197b7aa..703d190 100644 --- a/NEWS +++ b/NEWS @@ -1,5 +1,7 @@ v2.8.16 update licensing information in Python extension (Jan Dittberner) make translations work in Python extension (Jan Dittberner) + fix Python extension compilation warning (Jan Dittberner) + add a long description to Python extension (Jan Dittberner) v2.8.15 allow building of Python extension outside source folder (Jan Dittberner) fix type on Python extension's trove classifier reflect license change discussion that was never actually implemented in the repository and update to LGPL diff --git a/python/_cracklibmodule.c b/python/_cracklibmodule.c index 49e0071..7937936 100644 --- a/python/_cracklibmodule.c +++ b/python/_cracklibmodule.c @@ -33,6 +33,7 @@ #endif #include #include +#include #ifdef HAVE_PTHREAD_H static pthread_mutex_t cracklib_mutex = PTHREAD_MUTEX_INITIALIZER; diff --git a/python/setup.cfg b/python/setup.cfg new file mode 100644 index 0000000..5d52ed8 --- /dev/null +++ b/python/setup.cfg @@ -0,0 +1,6 @@ +[egg_info] +tag_build = .dev +tag_svn_revision = 1 + +[aliases] +release = egg_info -RDb '' diff --git a/python/setup.py.in b/python/setup.py.in index d06f5ad..4b7d86a 100644 --- a/python/setup.py.in +++ b/python/setup.py.in @@ -31,6 +31,11 @@ setup( name="cracklib", version="@VERSION@", description="A CPython extension module wrapping the libcrack library", + long_description="""\ +This CPython extension provides Python bindings for cracklib. It +contains a pythonic interface to cracklib's functions and some Python +convenience functions. +""", author="Jan Dittberner", author_email="jan@dittberner.info", url="http://cracklib.sourceforge.net/", @@ -42,6 +47,7 @@ setup( "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)", + "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Security", "Topic :: Software Development :: Libraries :: Python Modules",