From af2cbe8a5bec2b7971de137416d6e62ac1b96498 Mon Sep 17 00:00:00 2001 From: Prashanth Pai Date: Mon, 23 Sep 2013 11:47:21 +0530 Subject: Minor swiftkerbauth changes * Replaced python-webob with swift.common.swob * Use swift memcached instead of python memcached * Added optional debugging headers to swift-auth script * Swiftkerbauth and Apachekerbauth are now a single RPM * Updates to httpd conf file to specify Kerberos principal * Added setupy.py, makerpm.sh, .gitignore and MANIFEST.in * RPM is now generated by bdist_rpm using setup.py and not from spec files TODO -> Documentation changes in doc/ * Steps to setup kerberos environment * Swiftkerbauth usage and examples -> Testing swiftkerbauth * Investigate borrowing tests from tempauth.py and its dependencies * Write a python client script to test swiftkerbauth Signed-off-by: Prashanth Pai --- setup.py | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 setup.py (limited to 'setup.py') diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..ce03189 --- /dev/null +++ b/setup.py @@ -0,0 +1,38 @@ +#!/usr/bin/env python + +from setuptools import setup +from swiftkerbauth import __version__ + +setup( + name='swiftkerbauth', + version=__version__, + description='Kerberos authentication filter for Openstack Swift', + license='Apache License (2.0)', + author='Red Hat, Inc.', + author_email='gluster-users@gluster.org', + url='https://forge.gluster.org/swiftkerbauth', + packages=['swiftkerbauth'], + keywords='openstack swift kerberos', + install_requires=['swift>=1.9.1'], + classifiers=[ + 'Development Status :: 3 - Alpha', + 'Environment :: OpenStack', + 'Intended Audience :: Information Technology', + 'Intended Audience :: System Administrators', + 'License :: OSI Approved :: Apache Software License', + 'Operating System :: POSIX :: Linux', + 'Programming Language :: Python', + 'Programming Language :: Python :: 2', + 'Programming Language :: Python :: 2.6', + 'Programming Language :: Python :: 2.7', + ], + data_files=[ + ('/var/www/cgi-bin', ['apachekerbauth/var/www/cgi-bin/swift-auth']), + ('/etc/httpd/conf.d', ['apachekerbauth/etc/httpd/conf.d/swift-auth.conf']), + ], + entry_points={ + 'paste.filter_factory': [ + 'kerbauth=swiftkerbauth.kerbauth:filter_factory', + ], + }, + ) -- cgit